NSClient++ Help (#1) - Unknown Status (#666) - Message List

Unknown Status

I am running Nagios Core 3.2.2 with NSClient++ -0.3.8-Win32 installed on a Windows Server 2003 machine. I have two identical servers in use, one is working fine, the other is having the following issues.

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

Memory usage displays unknown: NSClient - ERROR: Failed to get PDH value.

Uptime displays unknown: NSClient - ERROR: Could not get value

Everything else works fine. I have tried re-installing and running lodctr /R and many other suggestions found on the forum but nothing has worked yet.

  • Message #1972

    These are from the debug logs:

    2010-09-22 16:16:21: error:modules\CheckSystem\PDHCollector.cpp:293: Failed to get UPTIME value: \Memory\Commit Limit: No value has been collected yet

    2010-09-22 16:13:00: error:modules\CheckSystem\PDHCollector.cpp:334: Failed to get MEM_CMT value: <UN ATTACHED>: No value has been collected yet

    2010-09-22 16:00:51: error:modules\CheckSystem\PDHCollector.cpp:271: Failed to get CPU value: <UN ATTACHED>: No value has been collected yet

    2010-09-22 16:00:51: debug:NSClient++.cpp:1142: Injected Result: WARNING 'ERROR: Could not get data for 5 perhaps we don't collect data this far back?'

    2010-09-22 15:56:35: error:modules\CheckSystem\PDHCollector.cpp:293: Failed to get UPTIME value: \Memory\Commit Limit: No value has been collected yet

    2010-09-22 15:53:24: error:modules\CheckSystem\PDHCollector.cpp:334: Failed to get MEM_CMT value: <UN ATTACHED>: No value has been collected yet

  • Message #2073

    I am getting a similar error.

    I installed NSClient++-0.3.8-Win32(2).msi and get the following errors when I execute from the command line.

    Does anyone how to resolve this error?

    ====================

    C:\Program Files>nsclient++ -m CheckSystem.dll -c CheckUpTime MinWarn=1d MinCrit =12h e \PDHCollector.cpp(293) Failed to get UPTIME value: \System\System Up Time: No value has been collected yet ERROR: Could not get value|

    C:\Program Files>nsclient++ -m CheckSystem.dll -c CheckUpTime MinWarn=1d MinCrit =12h e \PDHCollector.cpp(293) Failed to get UPTIME value: \System\System Up Time: No value has been collected yet ERROR: Could not get value|

  • Message #2247

    I got similar errors - I had created a user for NSC++ to run under and had not added it to the "Performance Monitor Users" group on the server. I added it to that group and voila! Working monitor. It was exactly those three counters and exactly those error messages NewJoe10.

    It makes sense that it would think "not there" if permission was denied, so...

    Anyway, hope that helps! Dylan

Subscriptions