NSCLIENT problem with windows performance monitor counters

Arjan@pwc-mas.nl arjan at pwc-mas.nl
Thu Nov 7 09:10:58 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: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list