This article provides the procedure to adjust the SNMP timeout and retry interval for a specific device in OpenNMS to ensure successful data collection.
The MIB resource graph is visible, but performance graph data appears blank or shows NaN values.
SNMP data collection is failing due to insufficient polling timeout or retry values configured for the device. Increase the polling timeout and retries for the affected device.
Check the collectd.log for SNMP data-collection errors:
collectd.log
# tail -f /var/log/opennms/collectd.log
Update the SNMP configuration for the specific device to prevent collection failures:
Navigate toNetwork Monitoring → Admin → Configure SNMP Community Names by IP Address
Enter the device IP and click Lookup.
Update the timeout and retry parameters.
Save the configuration.
This updates the snmp-config.xml file for the device.
snmp-config.xml
You can verify the updated entries in below file:
Sample: [root@space-005056a9ffe6 admin]# cd /opt/opennms/etc/ [root@space-005056a9ffe6 etc]# less snmp-config.xml | more <definition security-name="junos_space" security-level="3" auth-passphrase="Juniper123" auth-protocol="SHA" privacy-passphrase="Juniper123" privacy-protocol="AES" version="v3" timeout="5000" retry="3"> <specific>a.a.a.a</specific> <specific>x.x.x.x</specific> <specific>y.y.y.y</specific>
If you manually edit snmp-config.xml, a restart of the OpenNMS module is required.
Note : If you face any further issues, please contact JUNIPER JTAC Support for assistance.