Switch CPU Load and Memory
Posted: Mon Mar 26, 2018 12:22 am
Hi Team,
Im trying to use Nagios to monitor switch Memory and CPU load.
I found the plugin check_snmp_load.pl
Since we are using snmp v3 i could find the optimum results. I tried with multiple entries but couldn't suceed.
Here i entered as below. please suggest the correct way. also provide me a plugin for memory of switch
root@server:/usr/local/nagios/libexec# ./check_snmp_load1.pl -H 10.1x.xx.xxx -C -v3 -l xxxx ; -x yyyyyy -X yyyyyy -L md5,des -w 50,50,50 -c 7-,70,70 -T cisco
Unknown option: 3
Can't mix snmp v1,2c,3 protocols!
Usage: ./check_snmp_load1.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> -T=[stand|netsl|netsc|as400|cisco|cata|c5500|nsc|fg|bc|nokia|hp|lp|hpux] [-f] [-t <timeout>] [-V]
-bash: -x: command not found
root@wp1rngs02t:/usr/local/nagios/libexec#
Im trying to use Nagios to monitor switch Memory and CPU load.
I found the plugin check_snmp_load.pl
Since we are using snmp v3 i could find the optimum results. I tried with multiple entries but couldn't suceed.
Here i entered as below. please suggest the correct way. also provide me a plugin for memory of switch
root@server:/usr/local/nagios/libexec# ./check_snmp_load1.pl -H 10.1x.xx.xxx -C -v3 -l xxxx ; -x yyyyyy -X yyyyyy -L md5,des -w 50,50,50 -c 7-,70,70 -T cisco
Unknown option: 3
Can't mix snmp v1,2c,3 protocols!
Usage: ./check_snmp_load1.pl [-v] -H <host> -C <snmp_community> [-2] | (-l login -x passwd [-X pass -L <authp>,<privp>]) [-p <port>] -w <warn level> -c <crit level> -T=[stand|netsl|netsc|as400|cisco|cata|c5500|nsc|fg|bc|nokia|hp|lp|hpux] [-f] [-t <timeout>] [-V]
-bash: -x: command not found
root@wp1rngs02t:/usr/local/nagios/libexec#