Ticket #2 (closed defect: fixed)

Opened 5 years ago

Last modified 2 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

Changed 5 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:

Changed 5 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.

Changed 5 years ago by mickem

  • status changed from assigned to closed

Changed 3 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.

Changed 3 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

Changed 2 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)

Changed 2 years ago by anonymous

  • milestone set to 0.3.1

Changed 2 years ago by mickem

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