This article provides a checklist to use when troubleshooting SNMP related issues.
Request timeout Not able to receive bulk-request Not able to do mib walk on the NMS Counters not same on router and NMS
Note: Please, make sure that the SNMP server is polling form the correct address. For example, using the actual IRB or loopback IP address, instead of the virtual-gateway
Click on the following SNMP topics to jump to the corresponding troubleshooting help:
In Junos, SNMPD is the primary agent and it talks to sub-agents to fetch the data. In certain cases, the sub-agents further request the PFE/Kernel or some other daemon for data, in which case, there may be a chance that the NMS/server may see response related issues from the router.When NMS sends a request to the router, it usually waits for 1 second (default) for the response and if no response is received within 1 second, the request is retransmitted. A higher timeout (5 to 10 seconds) value should be used.
For more information about the SNMP implementation in Junos, refer to the following links:
SNMP Architecture and Junos OS SNMP Agent Features Understanding SNMP Implementation in Junos
The following checklist includes tasks that can be performed, when troubleshooting response related issues:
On the Router:
For more details on how to execute the above recommendations, refer tohttp://www.juniper.net/techpubs/en_US/junos/topics/task/configuration/snmp-best-practices-device-end-optimizing.html
On the NMS:
For more details on how to execute the above recommendations, refer tohttp://www.juniper.net/techpubs/en_US/junos/topics/task/configuration/snmp-best-practices-nms-optimizing.html
show syslog messages
show nvram
The following references include answers to MIB/OID related questions:
If SNMP response is slow, then verify the memory utilization of the snmpd and mib2d daemons. Take multiple snapshots of the following outputs and see if snmpd or mib2d memory consumption is increasing:
user@router> show system processes extensive | match snmpd PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1465 root 1 96 0 21480K 18236K select 0:21 0.00% snmpd user@router> show system processes extensive | match mib2d PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1464 root 1 96 0 18720K 10704K select 0:05 0.00% mib2d
If you see that the memory consumption is increasing constantly, then collect the information in the KB22637 - [M, MX, T Routers] Data Collection Checklist [juniper.net] under the 'SNMP' section, and open a case with your technical support representative.
2026-03-30: Added a note to the solution section
2022-10-03: Updated links.