nsclient reading Windows performance monitor values
Richard Wu
Richard.Wu at fusepoint.com
Tue Nov 5 02:18:25 CET 2002
Looks like including "%" in the counter name also bring out problem.
Richard Wu
-----Original Message-----
From: Arjan [mailto:donkerevervager at hotmail.com]
Sent: Saturday, November 02, 2002 4:30 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nsclient reading Windows performance monitor
values
Hi,
We had sometrouble retriving counters values from the NT4 and W2000
performance monitor.
I have found that when you try to retrive a counter which contains a
'/' inthe name you will get a number back that makes no sense.
I tryed to do this with several counters containing forward slahes and
found the same problems. (all counter with something/sec)
I get a value wich constantly changes but you can only see this when
you look at 6 decimal digits. Also if you compare the value that is
returned with the value given to you by performance monitor it makes
no sense
Example:
./check_nt -H 10.11.250.10 -v COUNTER -l "\\Memory\\Page
Faults/sec","%.6f"
because of the '/' in "Page Faults/sec" something goes wrong with the
query.
What is the value i get and how can i get the value i requested?
Hope you can give me an answer to this problem,
Arjan.
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
More information about the Users
mailing list