NSCLIENT problem with windows performance monitor counters

Arjan@pwc-mas.nl arjan at pwc-mas.nl
Thu Nov 7 16:16:10 CET 2002


Tried this already, when i do this i get the value 0.000000 which is also
not the correct value

Arjan

-----Original Message-----
From: Tom Lichti [mailto:tom at redpepperracing.com]
Sent: donderdag 7 november 2002 16:09
To: Arjan at pwc-mas.nl
Subject: Re: [Nagios-users] NSCLIENT problem with windows performance
monitor counters


Try putting a '\' in front of the '/'. It might parse ok then.

Tom

--On Thursday, November 07, 2002 9:10 AM +0100 "Arjan at pwc-mas.nl"
<arjan at pwc-mas.nl> wrote:

> 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
> _______________________________________________
> 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: 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