Description
The discovery process for Juniper devices is no longer collecting temperature information for FRUs using the JUNIPER-MIB. Doing some research on my installed based which consists of SRX, MX, EX, PTX and ACX boxes I came up to the conclusion that only the following jnxFruType values should be accounted for temperature readings:
- powerEntryModule
- flexiblePicConcentrator
- routingEngine
- controlBoard
Also, for optimization sake, only the indexes that have jnxFruState == online and jnxOperatingTemp != 0 should be discovered.
To solve my alerting problem I created a small patch for our internal use since we really rely on those temperature readings for health checks. I've attached the patch on this ticket.
I've used the *_ng variant of the discover function. I'm not sure it's supposed to be used a replacement for the previous one. Visually I've noticed an issue that has probably to do with the index field that's being set to 0. See the attached image for the trailing 0 (zero) at the end of the OID index.