Using check_snmp_int.pl to query Windows network interface

Peter Edmonds termx23 at gmail.com
Sun Dec 10 11:14:23 CET 2006


All,

I am using check_snmp_int.pl from
http://www.manubulon.com/nagios/snmp_int.html to query network interfaces on
Windows machines. I run this

bash-3.00$ ./check_snmp_int.pl -H 172.xx.xx.xx -C public -n "Intel\(R\)
PRO\/1000 CT Network Connection" -B -f -w 0,0 -c 0,0

and get this result

Intel(R) PRO/1000 CT Network Connection:UP:1 UP: OK | 'Intel(R) PRO/1000 CT
Network Connection_in_octet'=3870538451c 'Intel(R) PRO/1000 CT Network
Connection_out_octet'=1949658650c

My problem is that the performance data contains the name of the interface
and I think the ( ) and / characters are killing the perl script that
processes the performance data.

Is there a way to change the SNMP network interface description on the
Windows machine to remove the brackets and forward slash ? Or alternatively
has anyone modified check_snmp_int.pl to query Windows without requiring the
network interface description ?

Thanks

Peter Edmonds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061210/594f2db0/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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