Page 1 of 1

check_nt issue

Posted: Tue Sep 27, 2016 2:28 am
by sify_nagios
Hi Team,

One of my client windows server in which i used NSClient for monitoring disk & services, i got the following errors.

Code: Select all

CPU - NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back?

Memory - NSClient - ERROR: Failed to get PDH value.

Uptime - could not fetch information from server
I got some forum stating to rebuild the perfmon index values.. But i don't know the attribute which i have to rebuild.
Can you please help me out in brief.

Regards
Srini

Re: check_nt issue

Posted: Tue Sep 27, 2016 9:29 am
by lmiltchev
In order to rebuild all windows performance counters, you would need to run the following commands from the CMD prompt:

Code: Select all

cd\windows\system32
lodctr /R
https://support.microsoft.com/en-us/kb/300956