NSClient uptime error for a Windows 2003 host

Basically the alert was “NSClient – ERROR: Could not get value”

To verify you can run this command (from a command prompt) and check the output on the server:

cd “c:\Program Files\NSClient++ ”
nsclient++.exe /test

To fix this we need to force a counter rebuild., again from a command prompt:

cd \windows\system32

lodctr /R

Re-run the action to check immediately and it should come back okay.