Ticket #2 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

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 (last modified by mickem) (diff)

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

comment:1 Changed 7 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 7 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 7 years ago by mickem

  • Status changed from assigned to closed

comment:4 Changed 4 years ago by bvivi57

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

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 4 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 4 years ago by anonymous

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

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

comment:7 Changed 4 years ago by anonymous

  • Milestone set to 0.3.1

comment:8 Changed 4 years ago by mickem

  • Component changed from None to CheckSystem
  • Description modified (diff)
Note: See TracTickets for help on using tickets.