SRX Services Gateway
SRX Services Gateway

SRX snmp oid entries

‎10-01-2019 05:06 AM

Hi,

For our new CMDB we are polling our network devices through snmp. I am looking for a few specific entries:

- Junos version. Does anyone know where to find the junos version in snmp? I am looking for the entries for the 1400, 3400 and 5800 platform.

- Serial number passive node. It appears that the passive node clears numerous oid trees. Normally I can see the serial in oid .1.3.6.1.4.1.2636.3.1.3.0. On the passive node this entry does not exists. Does anyone know if the chassis serial number can be found elsewhere?  

Regards, Paul

5 REPLIES 5
SRX Services Gateway

Re: SRX snmp oid entries

‎10-01-2019 06:23 AM

Hi,

 

For JUNOS version, try this OID/MIB:

 

OID: 1.3.6.1.2.1.1

CLI: > show snmp mib walk 1.3.6.1.2.1.1

More Info Here:

https://apps.juniper.net/mib-explorer/search.jsp#object=system&product=Junos%20OS&release=19.3R1

 

 

By passive node you meant backup RE? Try same OID, shorten the tree..

show snmp mib walk 1.3.6.1.4.1.2636.3.1

 

or serial nunmber specfic:

 

On CLI: show snmp mib walk 1.3.6.1.4.1.2636.3.1.8.1.7

On NMS: 1.3.6.1.4.1.2636.3.1.8.1.7 

 

https://apps.juniper.net/mib-explorer/search.jsp#object=jnxContentsSerialNo&product=Junos%20OS&relea...

 

Try exploring the Juniper online MIB explorer by entering object name:

https://apps.juniper.net/mib-explorer/search.jsp

 

 

 

 

 

 

 

 

 

 

/Karan Dhanak
# Please mark my solution as accepted if it helped, Kudos are appreciated as well.

SRX Services Gateway

Re: SRX snmp oid entries

‎10-01-2019 06:55 AM

Hi Karand,

Thank your for your reply.

Within 1.3.6.1.2.1.1 I only see the version within sysDescr. Is this the only place where the version can be found? Because then we would have to strip the version out of the string.

With passive node I mean the secondary node (node1). I think the secondary node is the node which is not active for RG0.

On this node, I don't see any information in the OID you have provided. I can also not see the Box chassic number of node1 from node0.

SRX Services Gateway

Re: SRX snmp oid entries

‎10-01-2019 07:11 AM

Hi Paul,

 

Junos version:

 

show snmp mib walk 1.3.6.1.2.1.25.6.3.1.2 
hrSWInstalledName.2 = JUNOS Software Release [11.4R11.4]

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB23438&cat=T_SERIES&actp=LIST  -> This can help finding out the OID's.

 

 

Serial number for passive node: Yes, its true that most of the OID's do not work for the passive node as it has limited MIB support. OID for Serial number does not work too. Could not find a way to poll for the SN of passive node in specific but you can refer to the below link for best practises for more details on SNMP monitoring in a cluster. Its quite old but has some good info.

 

kb.juniper.net/library/CUSTOMERSERVICE/GLOBAL_JTAC/SRX-cluster-monitoring-best-practices.pdf 

 

Thanks,
Pradeep
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!

SRX Services Gateway

Re: SRX snmp oid entries

‎10-01-2019 07:29 AM

Hi,

 

There are couple oid/mib to fetch S/w or firmware version. Try this mib called "entPhysicalTable".

It has specfic tree within to fetch S/w version as well the h/w details.

https://apps.juniper.net/mib-explorer/search.jsp#object=entPhysicalTable&product=Junos%20OS&release=...

 

Check if ChassisCluster mib helps to fetch nodes in cluster:

https://apps.juniper.net/mib-explorer/search.jsp#object=jnxJsChassisCluster&product=Junos%20OS&relea...

 

 

 

 

 

 

 

/Karan Dhanak
# Please mark my solution as accepted if it helped, Kudos are appreciated as well.

SRX Services Gateway

Re: SRX snmp oid entries

‎10-01-2019 07:30 AM

Hi pradkm,

Thank you, this is helpfull.

Regards, Paul