nsclient++ intermittent connection refused on same subnet

Posted by jshin47 on Server Fault See other posts from Server Fault or by jshin47
Published on 2012-10-23T20:31:43Z Indexed on 2012/10/25 17:03 UTC
Read the original article Hit count: 403

Filed under:
|

I have setup Nagios and nsclient++ on a number of my Windows servers. They are all in the same subnet so no routing or firewall stuff is taking place in between the endpoints, and I have verified that the firewalls on the servers are not causing trouble. The problem is that the scheduled checks sometimes fail with "connection refused" and sometimes work! It is a frustrating problem to resolve because I do not know what to look for.

One place I did look is in the nsclient++ logs, where I am seeing this recurring error:

...\trunk\modules\CheckSystem\PDHCollector.cpp:148: Failed to query performance counters: \238...

This sounds promising, but I couldn't find much on Google about this error as it pertains to NSClient++

© Server Fault or respective owner

Related posts about nagios

Related posts about nsclient++