N-central Troubleshooting
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
- Set the probe log levels to 5:
- Select Administration > Probes
- Select the desired probe
- Select the System Communication tab
- Change the log level from '3 - Normal' to '5 - Most Detail'
- Configure a probe based discovery job for the single IP address of the device:
- Select Configuration > Asset Discovery > Discovery Jobs
- Select the customer in question
- Select the Probe from step 1.2 above
- Enter the single IP address
- Enter the SNMP Community string on the SNMP Settings tab
- Select Finish
- Create 2 batch files to grab the necessary probe logs:
- 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"
- 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"
- Name one file as ProbeLog.bat, with the following line within it:
- Upload the bat files to N-able N-central :
- Select Configuration > Scheduled Tasks > Scripts/Software Repository
- Select Add > Scripting
- Run these bat files against the probe device:
- From the All Devices View, locate the Probe device
- Put a check mark against the probe
- Select Add Task > Run a script
- Create two separate tasks from the bat scripts uploaded from step 4
- Download and extract SNMP walk utility
- Upload the utility to N-able N-central :
- Select Configuration > Scheduled Tasks > Scripts/Software Repository
- Select Add > Push Third Party Software
- 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
- snmpwalk -r:host -v:2c -c:community
- Run the executable against the probe device:
- From the All Devices view, locate the probe
- Put a check mark against the device
- Select Add Task > Push Third Party Software
- Select the task uploaded from step 7
- Review the log files from step 5
Review the output from the SNMP walk in step 8