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 .220.127.116.11.4.1.2618.104.22.168.0. On the passive node this entry does not exists. Does anyone know if the chassis serial number can be found elsewhere?
For JUNOS version, try this OID/MIB:
CLI: > show snmp mib walk 22.214.171.124.2.1.1
More Info Here:
By passive node you meant backup RE? Try same OID, shorten the tree..
show snmp mib walk 126.96.36.199.4.1.2636.3.1
or serial nunmber specfic:
On CLI: show snmp mib walk 188.8.131.52.4.1.26184.108.40.206.1.7
On NMS: 220.127.116.11.4.1.2618.104.22.168.1.7
Try exploring the Juniper online MIB explorer by entering object name:
Thank your for your reply.
Within 22.214.171.124.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.
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.
Check if ChassisCluster mib helps to fetch nodes in cluster:
show snmp mib walk 126.96.36.199.188.8.131.52.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.
Thanks,PradeepPlease Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!
Thank you, this is helpfull.