On 26 Jun 2009, at 12:04, Michał Zyzak wrote:
I was able to get it working (had a MAJOR problem with interface
name because of “hidden” double zeros trailing the string).
Now it seems to work when I test it from shell:
./check_snmp_linkstatus22 -H <IP> -C <string> -I "Intel(R) Advanced
Networking Services (iANS) NDIS Intermediate Driver" -n 16777219 -i –o
It displays:
WARNING: Running from command line. This could change statistics for
the next run from Nagios
OK – Intel Intel(R) Advanced Networking Services (iANS) NDIS
Intermediate Driver is up, throughput (in/ou) 11 Kbps/12 Kbps, 0%/
0%|throughput_in=12264.66b throughput_out=12414.66b
It show the same when I do not use the –i and –o switches.
But when I run the same command by a Service Check I only get:
OK – Intel Intel(R) Advanced Networking Services (iANS) NDIS
Intermediate Driver is up
No performance data…..
The above uses check_snmp_linkstatus22. Is that relevant?
Ton
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users