Table of Contents

Autodiscovery wizard for NAV

Specification for blueprint: https://blueprints.launchpad.net/nav/+spec/autodiscovery-wizard

Overview

It would be nice if NAV could offer an autodiscovery feature to make it even easier to maintain the IP devices you want NAV to monitor.

We suggest this is added to the seed database tool.

Input parameters

The user should supply the following info:

Algorithm

  1. retrieve all active arp records from the seed router that are within the search scope.
  2. for each of these IP addresses:
    • if the IP address exists in NAV - skip
    • if the address answers to SNMP with the given snmp read community - new device found!
      • get system.syslocation: if meaningful use this as room in the bulk import format.
      • set orgid to the supplied orgid
      • decide category… hmmm. Morten?
      • make new row to bulk file (format: roomid:ip:orgid:catid:ro )

This is just an initial draft - should be elaborated/discussed

API for snmp queries

To avoid duplicating code from ipdevpoll, an API that does the relevant snmp queries should be offered by Morten.