[Nagiosplug-help] Problem with check_nt plugin only one digit return when use a perfomance counter
Sébastien HAIRION
sebastien.hairion at nellarmonia.eu
Fri Mar 26 13:57:19 CET 2010
Hello,
In first thanks for you job.
I use nagios to monitor my windows server.
I use logically check_nt for that and I ask the performance counter.
But when I do that in a bash :
./check_nt H 10.198.42.33 p 12489 v COUNTER l
\\Process(sqlservr)\\Working <file:///\\Process(sqlservr)\Working> Set -s
Password
The result is :
5
but when i see the perfomance counter in perfmon the value are 55287808.
And i dont think the problem are in NsClient ++ because in the log i can
see that :
2010-03-26 00:30:58: debug:.\NSClientListener.cpp:143: Data:
Password&8&\Process(sqlservr)\Working Set
2010-03-26 00:30:58: debug:.\NSClientListener.cpp:168: Data:
\Process(sqlservr)\Working Set
2010-03-26 00:30:58: debug:.\NSClient++.cpp:516: Injecting: checkCounter:
Counter=\Process(sqlservr)\Working Set, nsclient
2010-03-26 00:30:59: debug:.\NSClient++.cpp:536: Injected Result: OK
'5.51731e+007'
2010-03-26 00:30:59: debug:.\NSClient++.cpp:537: Injected Performance
Result: ''
I try to search help on goole but i dont find anything.
Y try to reconstruct my perfomance counter database with lodctr /R, i try
too to use differents versions of NSclient ++ and differents versions of
check_nt but the results are the same.
Version use :
Nagios 3.1.2
Plugins 1-4.14
NSClient++ 0.3.5
I test these version
NSClient ++ 0.3.7
NSClient ++ 0.3.1
Plugins 1.4.11
Plugins 1.4.12
I dont have this problem before for my other server.
Anyone have an idea of the resolution of this problem ?
Thanks for you help
Bests Regard
Sebastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100326/564d0305/attachment.html>
More information about the Help
mailing list