Page 1 of 4

(No output on stdout) stderr:

Posted: Sun Dec 14, 2014 11:09 pm
by deepshikha20
Hi ,

I have configured few remote server but am getting below error for the services on the web interface.

(No output on stdout) stderr:

I have checked the nsclient.log and error is

2014-12-13 03:57:34: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:139: Failed to query performance counters: PdhCollectQueryData failed: : -2147481643: No data to return.


2014-12-13 03:57:34: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:139: Failed to query performance counters: PdhCollectQueryData failed: : -2147481643: No data to return.


2014-12-13 03:57:35: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:139: Failed to query performance counters: PdhCollectQueryData failed: : -2147481643: No data to return.


Please help !

Re: (No output on stdout) stderr:

Posted: Mon Dec 15, 2014 12:04 am
by Box293
I suspect you're using NSClient 0.4.2.

0.4.2 has some bugs that cause these types of issues.

Try 0.4.1 or 0.3.9 and let us know if that fixes your problem.

Re: (No output on stdout) stderr:

Posted: Mon Dec 15, 2014 9:57 pm
by deepshikha20
The version which i am using is NSCP-0.4.1.73-x64 .

Let me know if i need to use the 0.3.9 one ?

Thanks.

Regards,
Deepshikha

Re: (No output on stdout) stderr:

Posted: Tue Dec 16, 2014 12:28 am
by Box293
Great then we know it's not 0.4.2 causing the issue.

It sounds like the performance counters on the Windows box need fixing.

From the windows box run:

Code: Select all

lodctr /R


After that restart the NSClient++ service.

Does this fix your problem?

Re: (No output on stdout) stderr:

Posted: Tue Dec 16, 2014 10:01 pm
by deepshikha20
it didn't fix it. The issue still remains the same.

Re: (No output on stdout) stderr:

Posted: Wed Dec 17, 2014 12:38 am
by Box293
Can you post the config of the services that are having problem so we can test them.

Re: (No output on stdout) stderr:

Posted: Wed Dec 17, 2014 10:06 pm
by deepshikha20
Hi,

Please find the attached as requested.

Thanks.

Regards,
Deepshikha

Re: (No output on stdout) stderr:

Posted: Thu Dec 18, 2014 2:44 pm
by slansing
I don't actually see any performance counter checks specifically, though your normal checks are likely querying the counters at some point, what services are failing in the XI web interface?

Re: (No output on stdout) stderr:

Posted: Thu Dec 18, 2014 8:41 pm
by deepshikha20
Hi,

Please find the attached screenshot which gives you a clear picture about the error i am facing.

Thanks.

Regards,
Deepshikha

Re: (No output on stdout) stderr:

Posted: Fri Dec 19, 2014 3:27 pm
by sreinhardt
Can you post your nagios.cfg and resources.cfg files please? It looks like you are not appending a path to the commands, and so nagios may not know where to look for them.