check_nt

Phil Costelloe philc at foundation-it.com
Wed Jan 28 13:17:05 CET 2004


Neil wrote:
> 
> I tried to retrieve a COUNTER and it worked too. But I am
> having a problem
> getting performance counter on my windows xp's NIC. The one
> that I am having
> problems with is Network Interface, Bytes Total/sec and the interface
> name is Intel[R]PRO_100VE Network Connection - Packet Scheduler
> Miniport. I just always get a zero.
> 
> This is how I executed it.
> 
> ./check_nt -H 192.168.1.3 -p 1248 -v COUNTER -l "\\Network
> Interface(Intel[R]PRO_100VE Network Connection - Packet Scheduler
> Miniport)\Bytes Total/sec","Bytes total/sec: %.2f"
> 
> Bytes total/sec: 0.00

There should be two backslashes between the object and the counter, e.g.

./check_nt -H 192.168.1.3 -p 1248 -v COUNTER -l "\\Network
Interface(Intel[R]PRO_100VE Network Connection - Packet Scheduler
Miniport)\\Bytes Total/sec","Bytes total/sec: %.2f"

Apart from that it looks OK.

Phil


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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