How to troubleshoot SNMP discovery issues

Last Modified

Mon Mar 23 01:10 GMT 2020

Description

  • How to troubleshoot SNMP discovery issues
  • How to troubleshoot when a probe based discovery job does not discover any SNMP asset data

Environment

  • N-able N-central
  • SNMP

Solution

  1. Set the probe log levels to 5:
    1. Select Administration > Probes
    2. Select the desired probe
    3. Select the System Communication tab
    4. Change the log level from '3 - Normal' to '5 - Most Detail'
  2. Configure a probe based discovery job for the single IP address of the device:
    1. Select Configuration > Asset Discovery > Discovery Jobs
    2. Select the customer in question
    3. Select the Probe from step 1.2 above
    4. Enter the single IP address
    5. Enter the SNMP Community string on the SNMP Settings tab
    6. Select Finish
  3. Create 2 batch files to grab the necessary probe logs:
    1. Name one file as ProbeLog.bat, with the following line within it:
      • type "C:\Program Files (x86)\N-able Technologies\Windows Software Probe\log\NAAssetProbes.log"
    2. Name another file as ProbeDiscoveryLog.bat with the following line within it:
      • type "C:\Program Files (x86)\N-able Technologies\Windows Software Probe\log\NAAssetDiscovery.log"
  4. Upload the bat files to N-able N-central :
    1. Select Configuration > Scheduled Tasks > Scripts/Software Repository
    2. Select Add > Scripting
  5. Run these bat files against the probe device:
    1. From the All Devices View, locate the Probe device
    2. Put a check mark against the probe
    3. Select Add Task > Run a script
    4. Create two separate tasks from the bat scripts uploaded from step 4
  6. Download and extract SNMP walk utility
  7. Upload the utility to N-able N-central :
    1. Select Configuration > Scheduled Tasks > Scripts/Software Repository
    2. Select Add > Push Third Party Software
    3. Within Command Line Parameters, enter the following:
      • snmpwalk -r:host -v:2c -c:community
        • NOTE: "Host" is the FQDN or IP address, "community" is the community string configured on the device
  8. Run the executable against the probe device:
    1. From the All Devices view, locate the probe
    2. Put a check mark against the device
    3. Select Add Task > Push Third Party Software
    4. Select the task uploaded from step 7
  9. Review the log files from step 5
  10. Review the output from the SNMP walk in step 8