nrpe checks failing because of low ping

Ayotunde Itayemi aitayemi at vmobile-nigeria.com
Tue Nov 15 10:15:19 CET 2005


Is it possible to get your modified check_nrpe code?

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve
Shipway
Sent: 15 November 2005 00:00
To: 'Matt Rae'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] nrpe checks failing because of low ping

>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


-------------------------------------------------------
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_idv28&alloc_id845&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