Overview
NMIS provides comprehensive network discovery capabilities to automatically find and add devices to your monitoring environment. The discovery engine uses multiple methods including SNMP polling, subnet scanning, and neighbor detection protocols like CDP and LLDP.SNMP Discovery
Query devices using SNMP to gather system information and identify device types
Subnet Scanning
Scan IP ranges to find active devices and automatically add them to monitoring
CDP/LLDP Detection
Discover network topology by collecting neighbor information from Layer 2 protocols
Auto-Classification
Automatically classify discovered devices based on SNMP sysObjectID and vendor information
Discovery Methods
SNMP-Based Discovery
NMIS uses SNMP to query devices and gather identifying information including:- sysObjectID: Unique identifier for device type and vendor
- sysDescr: System description containing hardware and software details
- sysName: Configured hostname
- sysLocation and sysContact: Device metadata
Subnet Scanning
Define IP ranges or subnets to scan for active devices:Discovery operations can be scheduled to run automatically using the NMIS scheduler. This ensures your device inventory stays up-to-date as network changes occur.
CDP and LLDP Neighbor Discovery
NMIS collects neighbor information from Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) to:- Map network topology automatically
- Discover connected devices that may not be in configured subnets
- Build neighbor relationships for visualization
- Neighbor device ID
- Neighbor IP address
- Platform and capabilities
- Interface connections
- System name and description
- Management addresses
- Port descriptions
- System capabilities
Discovery Configuration
Default Configuration
NMIS uses sensible defaults for discovery that can be customized:Discovery Parameters
IP subnet to scan in CIDR notation (e.g., 192.168.1.0/24)
SNMP community string for SNMPv1/v2c authentication
SNMP version to use: snmpv1, snmpv2c, or snmpv3
SNMP port to query
SNMP timeout in seconds
Number of SNMP retry attempts
CLI Discovery Commands
Basic Discovery
Advanced Discovery Options
Node Properties Set During Discovery
When devices are discovered, NMIS automatically configures:| Property | Source | Description |
|---|---|---|
name | sysName or IP | Device identifier |
host | IP address | Management IP |
group | Configuration | Logical grouping |
nodeModel | sysObjectID lookup | Device model template |
nodeType | Model classification | router, switch, server, etc. |
nodeVendor | sysDescr/sysObjectID | Cisco, Juniper, etc. |
sysDescr | SNMP | System description |
sysObjectID | SNMP | Vendor OID |
sysLocation | SNMP | Physical location |
sysContact | SNMP | Contact information |
Integration with Models
Discovered devices are automatically matched to model files based on theirsysObjectID. NMIS includes pre-built models for hundreds of device types:
- Cisco routers and switches
- Juniper devices
- HP/Aruba equipment
- Net-SNMP servers
- Generic SNMP devices
Related: Device Management
Learn how to manage discovered nodes, create custom groups, and configure device properties
Discovery Best Practices
- Start Small: Test discovery on a small subnet before scanning large ranges
- Use SNMPv3: Whenever possible, use SNMPv3 for secure authentication
- Schedule Regular Discovery: Automate discovery to keep inventory current
- Validate Models: Ensure discovered devices are matched to appropriate model files
- Document Community Strings: Maintain a secure inventory of SNMP credentials by subnet
- Monitor Discovery Logs: Review logs to identify failed discovery attempts
Troubleshooting Discovery
Common Issues
No devices discovered:- Verify SNMP is enabled on target devices
- Check firewall rules allow UDP port 161
- Confirm community string or SNMPv3 credentials are correct
- Test connectivity with
snmpwalkcommand
- Check sysObjectID mapping in model files
- Review discovery logs for classification details
- Manually set nodeModel if auto-classification fails
- Reduce subnet size or increase timeout
- Check network latency to target devices
- Consider parallel discovery for large networks
Next Steps
SNMP Monitoring
Configure SNMP polling and data collection for discovered devices
Device Management
Manage node properties, groups, and custom attributes