network interface naming on windows machines

Arlen Drina arlytex at gmail.com
Thu Aug 27 14:11:40 CEST 2009


For monitoring network interfaces activitties on windows machines I am
using for example

./check_nt -H ggg.ggg.sss.sff -p 12489 -v COUNTER -l  "\\Network
Interface(HP NC373i Multifunction Gigabit Server Adapter _2 - Teefer2
Miniport)\\Bytes Total/sec"

where is

 "\\Network Interface(HP NC373i Multifunction Gigabit Server Adapter
_2 - Teefer2 Miniport)\\Bytes Total/sec"

value I got using

typeperf -qx in windows console ( it list all counter and then I look
for network related parameter )

As different machines has different network cards, and that means
different above value, is there any way to enter in above command
intreface name I see when I open "Network connections" and there are
some custom names "office1", "external_net" etc.

then command would be like
/check_nt -H ggg.ggg.sss.sff -p 12489 -v COUNTER -l
"\\(office1)\\Bytes Total/sec"
I tried to enter interface name as above but nothing is returned as it
looks like cannot be found on system.


I want to have one command definition and to use it on many machines,
as on every machine I  am assignig names like
"office1", "office2" etc.

OS system on monitored machines is W2K3.

Thnak you in advance

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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