Details
Description
i just installed Observium CE 18.9.9420
i found out that discovery memory for REs and FPCs is not working in Junos 18.4R1.8 . if i compares with junos versi 17.x. it works.
Attachments
- observium-junos18r4.png
- 213 kB
Activity
The objects are described in jnxOperatingDescr.
Their installed memory is within jnxOperatingMemory (in MB).
Their used memory in percent is within several oids (for the main ones: jnxOperatingBuffer and some stuff in jnxOperatingHeap).
About jnxOperatingDRAMSize, whose status is DEPRECATED (in the MIB), it was an Integer32 (-2G to +2G) giving the total memory of each object in bytes. As 2GB is too small today, it's easy to understand why this was deprecated.
As Integer32 (a poor choice, the good choice would have been an Unsigned32), these values have theoretically «the right» to be negative (even if it's stupid), and as deprecated they have «the right» to contain junk.
It clearly appears that the «negative» values in this deprecated oid trigger problems in the discover script.
Deprecated oids (as indicated in the MIB) should probably be skipped.
Workaround 1 (bad): edit the MIB and replace "Integer32" to "Unsigned32" for jnxOperatingDRAMSize.
Workaround 2 (better): create a view on your Juniper gear, exclude jnxOperatingDRAMSize from it, like that:
view Standard {
oid jnxOperatingDRAMSize exclude;
oid .1 include;
}
it seems because the output dram is negative ?
–
CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m JUNIPER-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/juniper 'udp':'<snip>':'161' jnxOperatingMemory]
CMD EXITCODE[0]
CMD RUNTIME[0.0323s]
STDOUT[
jnxOperatingMemory.1.1.0.0 = 0
jnxOperatingMemory.2.1.0.0 = 0
jnxOperatingMemory.2.2.0.0 = 0
jnxOperatingMemory.2.3.0.0 = 0
jnxOperatingMemory.2.4.0.0 = 0
jnxOperatingMemory.4.1.0.0 = 0
jnxOperatingMemory.4.1.1.0 = 0
jnxOperatingMemory.4.1.2.0 = 0
jnxOperatingMemory.4.1.3.0 = 0
jnxOperatingMemory.4.1.4.0 = 0
jnxOperatingMemory.4.1.5.0 = 0
jnxOperatingMemory.4.1.6.0 = 0
jnxOperatingMemory.7.3.0.0 = 3136
jnxOperatingMemory.7.4.0.0 = 3136
jnxOperatingMemory.7.5.0.0 = 3136
jnxOperatingMemory.7.6.0.0 = 3136
jnxOperatingMemory.8.3.1.0 = 0
jnxOperatingMemory.8.3.2.0 = 0
jnxOperatingMemory.8.4.1.0 = 0
jnxOperatingMemory.8.4.2.0 = 0
jnxOperatingMemory.8.5.1.0 = 0
jnxOperatingMemory.8.5.2.0 = 0
jnxOperatingMemory.8.6.1.0 = 0
jnxOperatingMemory.8.6.2.0 = 0
jnxOperatingMemory.9.1.0.0 = 49106
jnxOperatingMemory.9.2.0.0 = 49106
jnxOperatingMemory.10.1.0.0 = 0
jnxOperatingMemory.12.1.0.0 = 0
jnxOperatingMemory.12.2.0.0 = 0
]
SNMP STATUS[TRUE]
CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m JUNIPER-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/juniper 'udp':'<snip>':'161' jnxOperatingDRAMSize]
CMD EXITCODE[0]
CMD RUNTIME[0.0334s]
STDOUT[
jnxOperatingDRAMSize.1.1.0.0 = 0
jnxOperatingDRAMSize.2.1.0.0 = 0
jnxOperatingDRAMSize.2.2.0.0 = 0
jnxOperatingDRAMSize.2.3.0.0 = 0
jnxOperatingDRAMSize.2.4.0.0 = 0
jnxOperatingDRAMSize.4.1.0.0 = 0
jnxOperatingDRAMSize.4.1.1.0 = 0
jnxOperatingDRAMSize.4.1.2.0 = 0
jnxOperatingDRAMSize.4.1.3.0 = 0
jnxOperatingDRAMSize.4.1.4.0 = 0
jnxOperatingDRAMSize.4.1.5.0 = 0
jnxOperatingDRAMSize.4.1.6.0 = 0
jnxOperatingDRAMSize.7.3.0.0 = -1006632960
jnxOperatingDRAMSize.7.4.0.0 = -1006632960
jnxOperatingDRAMSize.7.5.0.0 = -1006632960
jnxOperatingDRAMSize.7.6.0.0 = -1006632960
jnxOperatingDRAMSize.8.3.1.0 = 0
jnxOperatingDRAMSize.8.3.2.0 = 0
jnxOperatingDRAMSize.8.4.1.0 = 0
jnxOperatingDRAMSize.8.4.2.0 = 0
jnxOperatingDRAMSize.8.5.1.0 = 0
jnxOperatingDRAMSize.8.5.2.0 = 0
jnxOperatingDRAMSize.8.6.1.0 = 0
jnxOperatingDRAMSize.8.6.2.0 = 0
jnxOperatingDRAMSize.9.1.0.0 = -48234496
jnxOperatingDRAMSize.9.2.0.0 = -48234496
jnxOperatingDRAMSize.10.1.0.0 = 0
jnxOperatingDRAMSize.12.1.0.0 = 0
jnxOperatingDRAMSize.12.2.0.0 = 0
]
SNMP STATUS[TRUE]
CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m JUNIPER-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/juniper 'udp':'<snip>':'161' jnxOperatingDescr]
CMD EXITCODE[0]
CMD RUNTIME[0.0321s]
STDOUT[
jnxOperatingDescr.1.1.0.0 = midplane
jnxOperatingDescr.2.1.0.0 = PEM 0
jnxOperatingDescr.2.2.0.0 = PEM 1
jnxOperatingDescr.2.3.0.0 = PEM 2
jnxOperatingDescr.2.4.0.0 = PEM 3
jnxOperatingDescr.4.1.0.0 = Left Fan Tray
jnxOperatingDescr.4.1.1.0 = Top Rear Fan
jnxOperatingDescr.4.1.2.0 = Bottom Rear Fan
jnxOperatingDescr.4.1.3.0 = Top Middle Fan
jnxOperatingDescr.4.1.4.0 = Bottom Middle Fan
jnxOperatingDescr.4.1.5.0 = Top Front Fan
jnxOperatingDescr.4.1.6.0 = Bottom Front Fan
jnxOperatingDescr.7.3.0.0 = FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 2//
jnxOperatingDescr.7.4.0.0 = FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 3//
jnxOperatingDescr.7.5.0.0 = FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 4//
jnxOperatingDescr.7.6.0.0 = FPC: MPC7E 3D 40XGE @ 5//
jnxOperatingDescr.8.3.1.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 2/0/*
jnxOperatingDescr.8.3.2.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 2/1/*
jnxOperatingDescr.8.4.1.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 3/0/*
jnxOperatingDescr.8.4.2.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 3/1/*
jnxOperatingDescr.8.5.1.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 4/0/*
jnxOperatingDescr.8.5.2.0 = PIC: MRATE-6xQSFPP-XGE-XLGE-CGE @ 4/1/*
jnxOperatingDescr.8.6.1.0 = PIC: 20x10GE SFPP @ 5/0/*
jnxOperatingDescr.8.6.2.0 = PIC: 20x10GE SFPP @ 5/1/*
jnxOperatingDescr.9.1.0.0 = Routing Engine 0
jnxOperatingDescr.9.2.0.0 = Routing Engine 1
jnxOperatingDescr.10.1.0.0 = FPM
jnxOperatingDescr.12.1.0.0 = CB 0
jnxOperatingDescr.12.2.0.0 = CB 1
]
SNMP STATUS[TRUE]
52 -> 7.3.0.0, JUNIPER-MIB::, FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 2//, 1, -1006632960, -191260262.4
Skipped by not numeric or too small mempool total (-1006632960) or used (-191260262.4)
52 -> 7.4.0.0, JUNIPER-MIB::, FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 3//, 1, -1006632960, -191260262.4
Skipped by not numeric or too small mempool total (-1006632960) or used (-191260262.4)
52 -> 7.5.0.0, JUNIPER-MIB::, FPC: MPC7E 3D MRATE-12xQSFPP-XGE-XLGE-CGE @ 4//, 1, -1006632960, -191260262.4
Skipped by not numeric or too small mempool total (-1006632960) or used (-191260262.4)
52 -> 7.6.0.0, JUNIPER-MIB::, FPC: MPC7E 3D 40XGE @ 5//, 1, -1006632960, -191260262.4
Skipped by not numeric or too small mempool total (-1006632960) or used (-191260262.4)
52 -> 9.1.0.0, JUNIPER-MIB::, Routing Engine 0, 1, -48234496, -2894069.76
Skipped by not numeric or too small mempool total (-48234496) or used (-2894069.76)
52 -> 9.2.0.0, JUNIPER-MIB::, Routing Engine 1, 1, -48234496, -2894069.76
Skipped by not numeric or too small mempool total (-48234496) or used (-2894069.76)
–
Seems as Juniper something changed in snmp output in 18.x.
Attach discovery debug for:
./discovery.php -d -h <device>
|
Hrm, I correctly understand, jnxOperatingDRAMSize changed to negative just after upgrade firmware to 18.x?
I.e. really memory has not changed..
Than this is exactly Firmware issue, need write to Juniper Support.
Yout know how many real memory in this system, or show same output with older firmware (v17.x).