Nagios XI snmp monitor router CPU load with plugin
Posted: Tue May 30, 2017 4:16 pm
New user to Nagios, and fairly new to snmp.
The goal is to enable a graph of cpu usage for our customer's remote devices, Cradlepoint MBR1200B routers, or at the very least show current and have a warning if it's over a certain amount.
I have already added a plugin I found on the exchange site and hope it could be used for this.
check_snmp_load.pl
https://exchange.nagios.org/directory/P ... 1495725395
I have the router configured for snmp and nagios host entry added with snmp that shows port status and activity working right now.
At present I can manually run the script and confirm it connects to the device but doesn't pull information I want
/usr/local/nagios/libexec/check_snmp_load.pl -2 -H 172.16.192.5 -w 70 -c 90 -C public
ERROR: Description table : The requested table is empty or does not exist.
I have also tried it with -T using all options listed in the --help but each returns:
Argument "noSuchObject" isn't numeric in printf at /usr/local/nagios/libexec/check_snmp_load.pl line 669.
CPU used 0.0% (<70) : OK
snmp details for the cradlepoints http://knowledgebase.cradlepoint.com/ar ... igure-SNMP
It lists the supported MIBs are standard RFC 1213.
The router's web admin shows a cpu utilization %, so I'm hoping it should have this function for snmp.
Any help or guides to get this to work would be appreciated. These Cradlepoints have little documention or results with google.
The goal is to enable a graph of cpu usage for our customer's remote devices, Cradlepoint MBR1200B routers, or at the very least show current and have a warning if it's over a certain amount.
I have already added a plugin I found on the exchange site and hope it could be used for this.
check_snmp_load.pl
https://exchange.nagios.org/directory/P ... 1495725395
I have the router configured for snmp and nagios host entry added with snmp that shows port status and activity working right now.
At present I can manually run the script and confirm it connects to the device but doesn't pull information I want
/usr/local/nagios/libexec/check_snmp_load.pl -2 -H 172.16.192.5 -w 70 -c 90 -C public
ERROR: Description table : The requested table is empty or does not exist.
I have also tried it with -T using all options listed in the --help but each returns:
Argument "noSuchObject" isn't numeric in printf at /usr/local/nagios/libexec/check_snmp_load.pl line 669.
CPU used 0.0% (<70) : OK
snmp details for the cradlepoints http://knowledgebase.cradlepoint.com/ar ... igure-SNMP
It lists the supported MIBs are standard RFC 1213.
The router's web admin shows a cpu utilization %, so I'm hoping it should have this function for snmp.
Any help or guides to get this to work would be appreciated. These Cradlepoints have little documention or results with google.