Opened 2 years ago

Closed 2 years ago

#458 closed defect (duplicate)

PDHCollector.cpp(140

Reported by: sdouce Owned by: MickeM
Priority: 1 Milestone:
Component: Core Version: 0.3.8
Severity: Bugs Keywords: PDHCollector.cpp
Cc:

Description

i have this problèm on three servers Windows2003 x64 & x32 architecture.

When i start the Nsclient++ agent i cant talk with 1248 port it seem blocked .
PDHCollector.cpp(140) Failed to open performance counters: RESOLVER: PdhLookupPerfNameByIndex?: Could not find index: 6: Unable to connect to specified machine or machine is off line. (800007D0)
I have tested 0.3.7 and 0.3.9 with no sucess , do you have any idea ..

Here is /test

C:\nsclient-bt>"NSClient++.exe" /test
Launching test mode - client mode
d NSClient++.cpp(1178) Enabling debug mode...
d NSClient++.cpp(551) Attempting to start NSCLient++ - 0.3.8.75 2010-05-27
d NSClient++.cpp(969) Loading plugin: CheckDisk...
d NSClient++.cpp(969) Loading plugin: Event log Checker....
d NSClient++.cpp(969) Loading plugin: Check External Scripts...
d \CheckExternalScripts.h(82) Adding: scripts\check_openmanage.exeArgs:
d \CheckExternalScripts.h(82) Adding: scripts\nok.batArgs:
d \CheckExternalScripts.h(82) Adding: scripts\ok.batArgs:
d NSClient++.cpp(969) Loading plugin: Helper function...
d NSClient++.cpp(969) Loading plugin: CheckSystem...
d NSClient++.cpp(969) Loading plugin: CheckTaskSched...
d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters.
d NSClient++.cpp(969) Loading plugin: CheckWMI...
d \PDHCollector.cpp(110) Using index to retrive counternames
d NSClient++.cpp(969) Loading plugin: File logger...
e \PDHCollector.cpp(140) Failed to open performance counters: RESOLVER: PdhLooku?
pPerfNameByIndex: Could not find index: 6: Unable to connect to specified machin
e or machine is off line. (800007D0)
l \FileLogger.cpp(93) Log path is: C:\nsclient-bt
nsclient.log
d \PDHCollector.cpp(176) We aparently failed to load counters trying to use defa
ult (English) counters or those configured in nsc.ini
d NSClient++.cpp(969) Loading plugin: LUAScript...
d NSClient++.cpp(969) Loading plugin: NRPE client (w/ SSL)...
d \NRPEClient.cpp(51) humm...
d NSClient++.cpp(969) Loading plugin: NRPE server (w/ SSL)...
d \NRPEListener.cpp(91) Loading all commands (from NRPE)
d \NRPEListener.cpp(121) Starting NRPE socket...
d NSClient++.cpp(969) Loading plugin: NSCAAgent (w/ encryption)...
d \Socket.h(669) Bound to: 0.0.0.0:3180
d \NSCAThread.cpp(77) Time difference for NSCA server is: 0
d \NSCAThread.cpp(86) Only reporting: ok,warning,critical,unknown
d \NSCAThread.cpp(118) Autodetected hostname: WSYRSCMOPT
d NSClient++.cpp(969) Loading plugin: NSClient server...
d \NSCAThread.cpp(187) Drifting: 0
d NSClient++.cpp(969) Loading plugin: RemoteConfiguration...
d \Socket.h(669) Bound to: 0.0.0.0:1248
d NSClient++.cpp(969) Loading plugin: SystemTray...
e \SysTray.cpp(55) SysTray is not installed (or it cannot interact with the desk
top) SysTray won't be loaded. Run NSClient++ SysTray install to change this.
d NSClient++.cpp(671) NSCLient++ - 0.3.8.75 2010-05-27 Started!
l NSClient++.cpp(455) Using settings from: INI-file
l NSClient++.cpp(456) Enter command to inject or exit to terminate...
e \PDHCollector.cpp(215) Failed to query performance counters: PdhCollectQueryDa?
ta failed: : No data to return. (800007D5)
e \PDHCollector.cpp(215) Failed to query performance counters: PdhCollectQueryDa?
ta failed: : No data to return. (800007D5)
e \PDHCollector.cpp(215) Failed to query performance counters: PdhCollectQueryDa?
ta failed: : No data to return. (800007D5)

Change History (1)

comment:1 Changed 2 years ago by mickem

  • Resolution set to duplicate
  • Status changed from new to closed

duplicate of #459

Note: See TracTickets for help on using tickets.