using check_snmp_ifstatus.pl plugin for windows servers

Dhaval Thakar dhaval at nsbl.co.in
Tue Aug 26 07:56:46 CEST 2008


hi,

i am using check_snmp_ifstatus.pl downloaded from
http://shawnflynn.com/2008/08/13/nagios-plugincheck_snmp_ifstatuspl/

this is very good tool to monitor interface utilization.
i want to use it in the replacement of mrtg.

this works fine for the linux systems (as in interface i need to mention
only eth0/eth1)

whereas i am unable to configure this tool to check windows interface

i am getting proper result for linux based server
snmpwalk -v 2c -c public 172.20.20.4 ifDescr
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: sit0

./check_snmp_ifstatus.pl -H 172.20.20.4 -C public -i eth0
OK: eth0 is UP at 1Gbps. RX=56.87Kbps (0%), TX=443Kbps
(0.04%)|RXbps=56868;850000000;980000000;0;100
0000000 TXbps=442973;850000000;980000000;0;1000000000 RXpct=0%;85;98;0;100
TXpct=0.04%;85;98;0;100 e
lapsed=95s;34;;;

for windows based server
snmpwalk -v 2c -c public 172.20.20.126 ifDescr
IF-MIB::ifDescr.1 = STRING: MS TCP Loopback interface
IF-MIB::ifDescr.2 = STRING: Realtek RTL8139/810x Family Fast Ethernet NIC

./check_snmp_ifstatus.pl -H 172.20.20.126 -C public -i "MS TCP Loopback
interface"
CRITICAL: Could not match MS TCP Loopback interface

./check_snmp_ifstatus.pl -H 172.20.20.126 -C public -i "Realtek
RTL8139/810x Family Fast Ethernet NIC"
CRITICAL: Could not match Realtek RTL8139/810x Family Fast Ethernet NIC

kindly guide me the proper way to utilize this plugin for windows based
servers.

thanks & regards
dhaval thakar




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list