Opened 7 years ago

Closed 5 years ago

#15 closed task (worksforme)

None

Reported by: gmueller_2000 Owned by: nobody
Priority: 5 Milestone:
Component: NRPEListener Version: 0.2.7
Severity: Support Requests Keywords: None
Cc: None

Description

On some machine nsclient does not return memory nor 
cpu values. Even with the newest version!

Please see attached files.

Change History (6)

comment:1 Changed 7 years ago by mickem

This is most likely due to localizations issues, check to see if it works better now the next version (SVN) should report better on this kinds of problems.

MickeM

comment:2 Changed 7 years ago by mickem

  • Resolution changed from None to fixed
  • Status changed from assigned to closed

comment:3 Changed 6 years ago by anonymous

  • Cc None added
  • Component changed from None to NRPEListener
  • Keywords None added
  • Priority changed from 7 to 5
  • Severity changed from Bugs to Support Requests
  • Summary changed from PDHCollector.cpp:116: Failed to open performance counters: \ to None
  • testcase_result set to pass
  • Type changed from defect to task
  • Version changed from None to 0.2.7-pre

comment:4 Changed 6 years ago by tilo@…

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • testcase_result changed from pass to fail
  • Version changed from 0.2.7-pre to 0.2.7

I got the same error with the current 2.7 version.
It works fine if I use nsclient++ /test
If I start it as a service, it results in

2007-07-05 22:06:27: debug:.\NSClient++.cpp:305: Loading plugin: NSClient server
...
2007-07-05 22:06:27: debug:.\PDHCollector.cpp:101: Detected language: English US

(0x0409)

2007-07-05 22:06:27: error:.\PDHCollector.cpp:119: Attempting to open counter...
2007-07-05 22:06:27: debug:c:\source\nscp\trunk\include\Socket.h:515: Bound to:
0.0.0.0:12489
2007-07-05 22:06:27: debug:c:\source\nscp\trunk\include\Socket.h:521: Socket rea
dy...
2007-07-05 22:06:27: error:.\PDHCollector.cpp:124: Failed to open performance co
unters: \Memory\Commit Limit: PdhOpenQuery? failed: : -1073738824
2007-07-05 22:06:36: debug:.\NSClientListener.cpp:141: Data: None&8&\System\Proc
esses
2007-07-05 22:06:36: debug:.\NSClientListener.cpp:166: Data: \System\Processes
2007-07-05 22:06:36: debug:.\NSClient++.cpp:370: Injecting: checkCounter: Counte
r=\System\Processes, nsclient
2007-07-05 22:06:36: debug:.\NSClient++.cpp:390: Injected Result: UNKNOWN -- T
he specified counter was not found in the performance object. (\System\Processes
|\System\Processes)
2007-07-05 22:06:36: debug:.\NSClient++.cpp:391: Injected Performance Result:
2007-07-05 22:06:37: debug:.\NSClientListener.cpp:141: Data: None&8&\MSExchangeT
ransport Queues(_total)\Messages Queued For Delivery
2007-07-05 22:06:37: debug:.\NSClientListener.cpp:166: Data: \MSExchangeTranspor
t Queues(_total)\Messages Queued For Delivery

I tried to start the service with the administrator account. It did not help.

tilo

comment:5 Changed 6 years ago by mickem

That error ocde is "object could not be found" I am guessing you have either configured it wrong or you don't have an English version of the OS.

Please post config and full log from startup with debug on...

MickeM

comment:6 Changed 5 years ago by mickem

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

most likely old, reopen if not...

Note: See TracTickets for help on using tickets.