Exit code for NRPE connection refused?

RT rt at ragweed.net
Fri Nov 5 20:49:02 CET 2010


Using: Nagios Version 3.2.2

Can check_nrpe be convinced (or hacked) to exit UNKNOWN rather than CRITICAL
on `Connection Refused`? Is there a way to accomplish this without having to
modify check_nrpe's source directly?

Currently, NRPE returns 2 for `Connection Refused` as well as `Not defined`.
In my particular use case, neither of these are considered Critical but
rather Unknown.

Thank you for your assistance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101105/39df047d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list