Problem with UCS Checks
Posted: Tue Jul 08, 2014 6:33 am
I have two Cisco Fabric Interconnect switches.
One reports fine the other does not.
Here is what I am getting at the command line
Before the firmware update they both worked fine.
One reports fine the other does not.
Here is what I am getting at the command line
Before the firmware update they both worked fine.
Code: Select all
[ronb@nagios libexec]$ ping 192.168.99.124
PING 192.168.99.124 (192.168.99.124) 56(84) bytes of data.
64 bytes from 192.168.99.124: icmp_seq=1 ttl=64 time=0.171 ms
64 bytes from 192.168.99.124: icmp_seq=2 ttl=64 time=0.199 ms
^C
--- 192.168.99.124 ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.171/0.185/0.199/0.014 ms
[ronb@nagios libexec]$ ping 192.168.99.125
PING 192.168.99.125 (192.168.99.125) 56(84) bytes of data.
64 bytes from 192.168.99.125: icmp_seq=1 ttl=64 time=0.151 ms
64 bytes from 192.168.99.125: icmp_seq=2 ttl=64 time=0.229 ms
64 bytes from 192.168.99.125: icmp_seq=3 ttl=64 time=0.225 ms
^C
--- 192.168.99.125 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2894ms
rtt min/avg/max/mdev = 0.151/0.201/0.229/0.039 ms
[ronb@nagios libexec]$ ./check_icmp -H 192.168.99.125 -w 3000.0,80% -c 5000.0,10 0% -p 5
OK - 192.168.99.125: rta 0.189ms, lost 0%|rta=0.189ms;3000.000;5000.000;0; pl=0%;80;100;;
[ronb@nagios libexec]$ ./check_icmp -H 192.168.99.124 -w 3000.0,80% -c 5000.0,10 0% -p 5
OK - 192.168.99.124: rta 0.191ms, lost 0%|rta=0.191ms;3000.000;5000.000;0; pl=0%;80;100;;
[ronb@nagios libexec]$ ./check_ucs -H 192.168.99.125 -C whro-ro -T f -N chassis-1
8 objects OK
[ronb@nagios libexec]$ ./check_ucs -H 192.168.99.124 -C whro-ro -T f -N chassis-1
No OID match! Check your -H and -N or -T