Code: Select all
snmpget -v 2c -c public 10.10.100.10 .1.3.6.1.2.1.4.21.1.7.192.168.1.0
iso.3.6.1.2.1.4.21.1.7.192.168.1.0 = IpAddress: 10.10.100.93
Code: Select all
./check_ospf.0.1.pl -H 10.10.100.10 -C public -v 2 -p 192.168.1.0
Use of uninitialized value in concatenation (.) or string at ./check_ospf.0.1.pl line 141.
Argument "noSuchObject" isn't numeric in numeric eq (==) at ./check_ospf.0.1.pl line 143.
CRITICAL - 192.168.1.0 (Router ID noSuchObject) state is