nrpe checks failing because of low ping

Steve Shipway s.shipway at auckland.ac.nz
Mon Nov 14 23:59:54 CET 2005


>i'd like to just get the ping notification and to ignore the 
>nrpe checks
>  until ping has recovered.
>
>is there an easy way to do this?

I modified the check_nrpe (and check_nt, too) code so that a 'connection
refused', timeout or protocol error would result in an unknown, rather than
a critical.  This also means I get 'unknown' if the NRPE agent is not
running (which is what I want, since the host is not necessarily in a
critical state).

Works for us, but you might want a failing agent to produce a critical.  If
this is the case, just add a flag to make this behaviour disableable.

Steve



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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