nsclient reading Windows performance monitor values

Arjan donkerevervager at hotmail.com
Sun Nov 3 01:30:16 CET 2002


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




More information about the Users mailing list