This article describes how to generate the OIDs on the SRX itself
How to generate the OIDs on the SRX itself for the registered objects
Please follw the below steps to generate the OIDs on the SRX itself for the registered objects:
root@abc # run show snmp registered-objects The above command will not generate any output root@abc # run show log snmp_reg_objcs | match " pattern for which the OID needs to be generated " For eg: root@abc# run show log snmp_reg_objs | match session .1.3.6.1.2.1.10.166.3.2.2.1.15 (mplsTunnelSessionAttributes) (/var/run/rpd_snmp) <<<< OIDs .1.3.6.1.4.1.2636.3.30.1.1.1.3 (jnxRsvpSessionState) (/var/run/rpd_snmp) .1.3.6.1.4.1.2636.3.30.1.1.1.4 (jnxRsvpSessionFrom) (/var/run/rpd_snmp) .1.3.6.1.4.1.2636.3.30.1.1.1.5 (jnxRsvpSessionTo) (/var/run/rpd_snmp)
The /var/log/snmp_reg_objs file contains only those objects that are associated with Junos OS processes that are up and running, and are registered with snmpd, at the time of executing the show snmp registered-objects command. If a MIB object related to a Junos OS process that is up and running is not shown in the list of registered objects, you may want to restart the software process to retry object registration with SNMPD.