[Nagiosplug-help] check_snmp_netint output help

Rob Yamry ryamry at kimberly.k12.wi.us
Fri Feb 1 18:36:39 CET 2008

Hey everyone.  Im tring to move my switch port checks to check_snmp_netint.  I can get it to do the check, but the output is not what Im looking for.  For example, if I run:

check_snmp_netint_21.pl -H <ipaddy> -C <comm_name> -n GigabitEthernet1/1 -r -feSy -kq -M -w 0,0,0,0,0,0 -c 0,0,0,0,0,0 -P "$SERVICEPERFDATA$"

Then I will get the following output:

GigabitEthernet1/1:UP (no usable data - 0 rows) :(1 UP): OK |  'GigabitEthernet1/1_in_octet'=777866922c 'GigabitEthernet1/1_out_octet'=1038766082c 'GigabitEthernet1/1_in_error'=0c 'GigabitEthernet1/1_in_discard'=0c 'GigabitEthernet1/1_out_error'=0c
'GigabitEthernet1/1_out_discard'=0c 'GigabitEthernet1/1_speed_bps'=1000000000 ptime=1201886717

What I really want to see, is some output that is in the script under the examples.  Something like this:  

eth1:UP (in=14.4Kbps/out=6.2Kbps): OK

How can I get it so I get the output that I want?


More information about the Help mailing list