nrpe checks failing because of low ping

Matt Rae raema at osuosl.org
Tue Nov 15 01:30:41 CET 2005


i'm looking into both ideas and thanks to both of you. I read the
service dependency docs and cam out with what is below. would something
like this solve my problems?

define servicedependency {
       hostgroup_name                  grp1,grp2,grp3
       service_description             PING
       dependent_hostgroup_name        grp1,grp2,grp3
       dependent_service_description   *
       execution_failure_criteria      n
       notification_failure_criteria   w,u,c
       }


Steve Shipway wrote:
>>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
> 


-- 
Matt Rae
Open Source Lab
Oregon State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051114/468f0b61/attachment.sig>


More information about the Users mailing list