max_check_attempts not working for me
Marc Powell
marc at ena.com
Wed Nov 28 23:54:49 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Jeremy C. Reed
> Sent: Wednesday, November 28, 2007 3:16 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] max_check_attempts not working for me
>
> I have templates that define max_check_attempts as 3 and others as 5
with
> retry_check_interval as 1 (my interval_length is 60).
>
> But I never see any indication that the failures are retried at all
before
> I receive a notification.
>
> I get a service notification on the first CRITICAL failure which
> becomes immediately HARD.
> Here is the template I am using:
>
> define service{
> name service-template ; The
'name' of this
<chop>
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
Assuming this is the template that you have applied to the service in
question and you don't override any of the relevant values in your
service definition, this should do nearly what you want (it'd be about 3
minutes before notification actually). This is a common configuration
and I'm not aware of any bugs related to it ever appearing. Are you sure
nagios was restarted after applying this configuration? That you only
have one daemon process running? Are you sure that nagios is reading
this file? Are you sure that this template is applied to your services
in question? Are you sure that it's a service notification that you're
receiving and not a host notification?
--
Marc
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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