monitor-utils
monitor-utils copied to clipboard
missing examples/guide about interfaces mode
Hi, I'm trying to use your check-cisco.pl to monitor a cisco router, almost all checks are clear and simple to me, great job! Anyway I don't know how to perform the "int" check, I don't know wich is the format of the parameter I should provide in -i and where I can find the right OID. For examples if I give as OID .1.3.6.1.2.1.2.2.1.1.1 which should be the index of first interface I get :
./check-cisco.pl -H XXX.XXX.XXX.XXX -C <my community> -t int -o .1.3.6.1.2.1.2.2.1.1.1
SNMP error: No response from remote host 'XXX.XXX.XXX.XXX'
If I use the same OID using snmpwalk I get :
$ snmpwalk -v 1 XXX.XXX.XXX.XXX -c <my community> .1.3.6.1.2.1.2.2.1.1.1
IF-MIB::ifIndex.1 = INTEGER: 1
Can you please provide some examples ? It's not so clear to understand which is the right way to pass the parameter and which parameter I should pass
Thanks in advance magowiz