Hello,
I am using NSClient++ 0.3.7.494 -x64 on windows 2008 R2 SP1 and got a lot of Failed to query performance counters.
How can I solved this problem?
the message in nsclient.log is
2015-09-22 11:53:50: error:modules\CheckSystem\PDHCollector.cpp:208: Failed to query performance counters: \Processor(_total)\% Processor Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a negative denominator value was detected.
windows 2008 R2 is an english version.
changing event log buffer size in nsc.ini did not help.
counters.def file is version 1.02 release date 10.2.2002
this is not happenning on all w2k8 servers, only on serveurs that have same set of applications, but it should not happend.
thanks for your help
failed to query performance counters
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: failed to query performance counters
Your version of NSClient++ is too old.
Upgrade to 0.4.x
Upgrade to 0.4.x
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.