NSClient++ Help (#1) - NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back? (#285) - Message List
I'm running Nagios 3.0.3 server running on RHEL 5.2, with a Windows 2003, SP2, running NSClient++ - 0.3.5.2 2008-09-24 client. Errors in the Nagios GUI are this:
NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back?
Any thoughts?
-
Message #900
By the way, this is when checking CPU Load.
I'm also getting other errors:
NSClient - ERROR: Failed to get PDH value (when it checks for memory usage). and NSClient - ERROR: Could not get value (when it checks for uptime)
These exact three errors appear on 4 hosts. Checking the C: and E: drives work, as well as the ping check and the NSClient++ Version check. Help!
anonymous12/01/08 16:59:57 (4 years ago) -
Message #1036
I'm also having the same problem:
# NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back? Memory Usage NSClient - ERROR: Failed to get PDH value. Uptime NSClient - ERROR: Could not get value #
Couldn't get into debug mode, and generate a log, but running the command in the console, gave a message that the counters are not going well. Must have something with the windows machine performance counters.
multiplati01/31/09 16:32:44 (4 years ago)-
Message #1062
Having excact the same problem. Running on an older W2k Box.
anonymous02/10/09 09:27:40 (4 years ago)-
Message #1063
Usually this can be solved by rebuilding the counter indexes.
A good way to check waht is "wrong" is launching the client in "test" mode ie: nsclient++ /test
Michael Medin
anonymous02/10/09 10:25:14 (4 years ago)-
Message #1064
C:\Nagios>nsclient++.exe /test Launching test mode - client mode Service seems to be started, this is probably not a good idea... l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24 d \NSClient++.cpp(773) Loading plugin: CheckDisk... d \NSClient++.cpp(773) Loading plugin: Event log Checker.... d \NSClient++.cpp(773) Loading plugin: Helper function... d \NSClient++.cpp(773) Loading plugin: CheckSystem... d \NSClient++.cpp(773) Loading plugin: CheckWMI... d \NSClient++.cpp(773) Loading plugin: File logger... d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters. d \PDHCollector.cpp(103) Using index to retrive counternames l \FileLogger.cpp(93) Log path is: C:\Nagios
nsclient.log d \NSClient++.cpp(773) Loading plugin: NRPE server... d \NSClient++.cpp(773) Loading plugin: NSClient server... d \NSClient++.cpp(773) Loading plugin: SystemTray... e \Socket.h(645) bind failed: 10048: Only one usage of each socket address (prot ocol/network address/port) is normally permitted.e \Socket.h(645) bind failed: 10048: Only one usage of each socket address (prot ocol/network address/port) is normally permitted.
l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started! e \Socket.h(668) Socket did not start properly, we will now do nothing... d \TrayIcon?.cpp(53) Failed to load: ChangeWindowMessageFilter? aparently we are n ot on Vista... e \Socket.h(668) Socket did not start properly, we will now do nothing... l \NSClient++.cpp(278) Using settings from: INI-file l \NSClient++.cpp(279) Enter command to inject or exit to terminate... d \PDHCollector.cpp(123) Found countername: CPU: \(_total)\ d \PDHCollector.cpp(124) Found countername: UPTIME:
d \PDHCollector.cpp(125) Found countername: MCL:
d \PDHCollector.cpp(126) Found countername: MCB:
e \PDHCollector.cpp(133) Failed to open performance counters: \(_total)\: PdhAdd? Counter failed: -1073738824: The specified object is not found on the system.d \PDHCollector.cpp(169) We aparently failed to load counters trying to use defa ult (English) counters or those configured in nsc.ini e \PDHCollector.cpp(178) Failed to open performance counters: \Memory\Commit Lim it: PdhAddCounter? failed: -1073738824: The specified object is not found on the system.
e \PDHCollector.cpp(212) No performance counters were found we will not wait for
the end instead...
anonymous02/10/09 10:41:54 (4 years ago)
-
-
-








