Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#2 closed defect (fixed)

error:.\PDHCollector.cpp:61

Reported by: nobody Owned by: nobody
Priority: 5 Milestone: 0.3.1
Component: CheckSystem Version: None
Severity: Bugs Keywords:
Cc:

Description

NSclient DOWN

OS:

Windows XP SP2
Portuguease Brazilian

Whem i comment the CheckSystem.dll the error not 
occurs.

"
debug:.\NSClient++.cpp:125: Loading: 
C:\Nsclient\modules\CheckSystem.dll
debug:.\NSClient++.cpp:235: Loading: System Checks 
Module.
debug:.\NSClient++.cpp:125: Loading: 
C:\Nsclient\modules\CheckDisk.dll
debug:.\NSClient++.cpp:235: Loading: CheckDisk 
Various Disk related checks.
debug:.\NSClient++.cpp:125: Loading: 
C:\Nsclient\modules\SysTray.dll
debug:.\NSClient++.cpp:235: Loading: System Tray 
icon Module.
debug:.\NSClient++.cpp:125: Loading: 
C:\Nsclient\modules\CheckEventLog.dll
debug:.\NSClient++.cpp:235: Loading: Event log 
Checker.
debug:.\NSClient++.cpp:125: Loading: 
C:\Nsclient\modules\NSClientListener.dll
debug:.\NSClient++.cpp:235: Loading: NSClient 
Listener.
error:.\PDHCollector.cpp:61: Failed to open performance 
counters: PdhOpenQuery failed
error:.\SysTray.cpp:32: Thread has not closed when 
exiting...

Change History (8)

comment:1 Changed 8 years ago by nobody

Logged In: NO 

OSWindows XP SP2    MEM:2G    CPU:4

NSC.log
e .\PDHCollector.cpp(79) Failed to query performance 
counters: PdhCollectQueryDa
ta failed:
e .\PDHCollector.cpp(79) Failed to query performance 
counters: PdhCollectQueryDa
ta failed:

comment:2 Changed 8 years ago by mickem

Logged In: YES 
user_id=329244

Probably language issues, look in NSC.ini (current version)
and hopefully this will be fixed by automagic in furutre
releases.

comment:3 Changed 8 years ago by mickem

  • Status changed from assigned to closed

comment:4 Changed 5 years ago by bvivi57

  • Resolution Out of Date deleted
  • Status changed from closed to reopened
  • testcase_result set to pass

I have a same problems.

I m use Windows XP2 Pro French and NSClient++ 0.3.0.

If I activate CheckSystem.dll, I have this message no-stop:

error:.\PDHCollector.cpp:159: Failed to query performance counters: PdhCollectQueryData? failed: : -2147481643: Aucune donnée à renvoyer.


comment:5 Changed 5 years ago by anonymous

Try the latest nightly (post 3.0) should fix this issue I think.
The next verion 3.1 (due in a week or so) should hopefully forever fix this issue :)

MickeM

comment:6 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

Closing this as it should have been fixed in the latest nightly (and next rel)

comment:7 Changed 5 years ago by anonymous

  • Milestone set to 0.3.1

comment:8 Changed 5 years ago by mickem

  • Component changed from None to CheckSystem
Note: See TracTickets for help on using tickets.