Error - NSClient Counter Errors

***** Nagios *****

Notification Type: PROBLEM

Service: CPU Load
Host: BALLYs DBA-1
Address: ballys.hubteam.local
State: UNKNOWN

Date/Time: Mon Dec 28 12:53:20 CST 2009
Duration: 0d 0h 2m 1s
Additional Info:
NSClient - ERROR: Could not get data for 5 perhaps we dont collect data this far back?

-------------------------------------------------
-------------------------------------------------
***** Nagios ***** Notification Type: PROBLEM Service: Memory Usage Host: BALLYs DBA-1 Address: ballys.hubteam.local State: UNKNOWN Date/Time: Mon Dec 28 12:52:20 CST 2009 Duration: 0d 0h 1m 31s Additional Info: NSClient - ERROR: Failed to get PDH value.

I received several odd errors with the Memory, CPU and Uptime monitors on one of our new servers with NSClient++.  A little quick research led me to the solution below.  Do not forget to restart the NSCLIENT service too after resetting the counters.

lodctr /R

** Make sure the "/R" is an upper case R.