Advanced Juniper Polling
Posted: Fri Nov 22, 2019 4:36 pm
I'm trying to get polling on Juniper ACX5048s, and Juniper MX204s. We used to use libreNMS which uses a "generic poller" and is able to generically pull a lot more data than I've been able to get out of Nagios thus far.
Specifically what I'm looking for is the ability to poll these data points:
VRF Status
VRF Routes
BGP/IBGP Neighbor Status
BGP/IBGP Neighbor Routes Received
BGP/IBGP Neighbor Uptime
CPU Temperature
CPU Utilization
RAM Utilization
Chassis Alarm Status
System Alarm Status
Interface SFP TX/RX Light levels (dbm)
I've been able to get all of this data from LibreNMS but the NMS isn't good for our access equipment and overloads it so it's not an option.
I've considered reaching out to them to ask them how they are generically polling the Juniper but I haven't done that yet.
Here is what I have done:
I run my configuration wizard and use the Network Switch / Router wizard which pulls in Hostname and Status/Bandwidth for all the ports I'm interested in polling.
I then ran the SNMP Walk wizard, I cleared the OID field, I set my timeout for 1500 seconds, max results of 100000, force scan yes.
I get several hundred responses but none of what I need. The issue is further confounded because the snmp polling data doesn't reveal valuable interface names/labels just most data strings with ifindex#s.
I thought perhaps my MIBs were the issue so I reached out to Juniper and they sent me roughly 200 MIBs that are specifically designed for my firmware. I got with our Nagios vendor and they explained I could bulk import those MIB by adding them to the /usr/share/snmp/mibs, and then doing, chown root:nagios *.txt, chmod 664 *.txt, to the MIB files.
I ran the SNMP walk again to the same results.
I got with Juniper tech support and they gave me roughly 20-30 OIDS that "would" give me the data I was looking for, I loaded those OIDs into the SNMP Wizard, and only got responses from 2 of the OIDS that were basically worthless.
I highly doubt I'm the only person using nagios and Juniper so I'm hoping that one of you guys can assist me in getting these data points polling actively.
Specifically what I'm looking for is the ability to poll these data points:
VRF Status
VRF Routes
BGP/IBGP Neighbor Status
BGP/IBGP Neighbor Routes Received
BGP/IBGP Neighbor Uptime
CPU Temperature
CPU Utilization
RAM Utilization
Chassis Alarm Status
System Alarm Status
Interface SFP TX/RX Light levels (dbm)
I've been able to get all of this data from LibreNMS but the NMS isn't good for our access equipment and overloads it so it's not an option.
I've considered reaching out to them to ask them how they are generically polling the Juniper but I haven't done that yet.
Here is what I have done:
I run my configuration wizard and use the Network Switch / Router wizard which pulls in Hostname and Status/Bandwidth for all the ports I'm interested in polling.
I then ran the SNMP Walk wizard, I cleared the OID field, I set my timeout for 1500 seconds, max results of 100000, force scan yes.
I get several hundred responses but none of what I need. The issue is further confounded because the snmp polling data doesn't reveal valuable interface names/labels just most data strings with ifindex#s.
I thought perhaps my MIBs were the issue so I reached out to Juniper and they sent me roughly 200 MIBs that are specifically designed for my firmware. I got with our Nagios vendor and they explained I could bulk import those MIB by adding them to the /usr/share/snmp/mibs, and then doing, chown root:nagios *.txt, chmod 664 *.txt, to the MIB files.
I ran the SNMP walk again to the same results.
I got with Juniper tech support and they gave me roughly 20-30 OIDS that "would" give me the data I was looking for, I loaded those OIDs into the SNMP Wizard, and only got responses from 2 of the OIDS that were basically worthless.
I highly doubt I'm the only person using nagios and Juniper so I'm hoping that one of you guys can assist me in getting these data points polling actively.