(No output on stdout) stderr:
-
- Posts: 33
- Joined: Fri Oct 31, 2014 1:19 am
(No output on stdout) stderr:
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 !
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 !
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: (No output on stdout) stderr:
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 33
- Joined: Fri Oct 31, 2014 1:19 am
Re: (No output on stdout) stderr:
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
Let me know if i need to use the 0.3.9 one ?
Thanks.
Regards,
Deepshikha
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: (No output on stdout) stderr:
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:
After that restart the NSClient++ service.
Does this fix your problem?
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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 33
- Joined: Fri Oct 31, 2014 1:19 am
Re: (No output on stdout) stderr:
it didn't fix it. The issue still remains the same.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: (No output on stdout) stderr:
Can you post the config of the services that are having problem so we can test them.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 33
- Joined: Fri Oct 31, 2014 1:19 am
Re: (No output on stdout) stderr:
Hi,
Please find the attached as requested.
Thanks.
Regards,
Deepshikha
Please find the attached as requested.
Thanks.
Regards,
Deepshikha
- Attachments
-
- commands.cfg.txt
- commands.cfg
- (8.1 KiB) Downloaded 816 times
-
- windows.cfg.txt
- windows.cfg
- (7.6 KiB) Downloaded 643 times
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: (No output on stdout) stderr:
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?
-
- Posts: 33
- Joined: Fri Oct 31, 2014 1:19 am
Re: (No output on stdout) stderr:
Hi,
Please find the attached screenshot which gives you a clear picture about the error i am facing.
Thanks.
Regards,
Deepshikha
Please find the attached screenshot which gives you a clear picture about the error i am facing.
Thanks.
Regards,
Deepshikha
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: (No output on stdout) stderr:
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.