failed to query performance counters

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
pconstantin
Posts: 1
Joined: Tue Sep 22, 2015 3:49 am

failed to query performance counters

Post by pconstantin »

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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: failed to query performance counters

Post by Box293 »

Your version of NSClient++ is too old.

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.
Locked