Creating Delay in notifications
Marc Powell
mpowell at ena.com
Tue Oct 8 16:39:30 CEST 2002
It seems to me that an easier method would be to set your max_check_attempts=4 and your retry_check_interval=3. With the default interval_length of 60 seconds, that will mean Nagios will wait ~15 minutes before putting the service in a HARD down state and sending a notification.
--
Marc
> -----Original Message-----
> From: Fredrik Wänglund [mailto:Fredrik.Wanglund at datavis.se]
> Sent: Tuesday, October 08, 2002 6:49 AM
> To: atul at mindsw.com; nagios
> Subject: RE: [Nagios-users] Creating Delay in notifications
>
> Use Notification Escalations, described in the docs.
>
>
>
> /FredrikW
>
>
> -----Original Message-----
> From: Atul Gosain [mailto:atul at mindsw.com]
> Sent: Tue 08-Oct-02 13:16
> To: nagios
> Cc:
> Subject: [Nagios-users] Creating Delay in notifications
>
> Hi
>
> We are monitoring some servers on WAN links. Sometimes due to some small
> problem in internal network, nagios shows the remoe hosts as down or
> unreachable.
> Now i want that notifications of the remote hosts should be sent after 15
> minutes of sustained problem.
> For this i can write an event handler which can check
> $LASTSTATECHANGE$ in my event handler according to which i send the mail
> the mail when this macro value gets more than 15 min.
> The problem is that we cannot specify notification command for each host,
> otherwise i would have specified seperate notification commands for those
> hosts which would check for 15 minutes delay.
>
> Can somebody give the directions on how to do it?
>
> --
> _-. .-_
> _..-'( )`-.._
> ./'. '||\\. (\_/) .//||` .`\.
> ./'.|'.'||||\\|.. )*.*( ..|//||||`.`|.`\.
> ./'..|'.|| |||||\``````` " '''''''/||||| ||.`|..`\.
> ./'.||'.|||| ||||||||||||. .|||||||||||| ||||.`||.`\.
> /'|||'.|||||| ||||||||||||{ }|||||||||||| ||||||.`|||`\
> '.|||'.||||||| ||||||||||||{ }|||||||||||| |||||||.`|||.`
> '.||| ||||||||| |/' ``\||/` '\||/'' `\| ||||||||| |||.`
> |/' \./' `\./ |/\ /\| \./' `\./ `\|
> V V V }' `\ /' `{ V V V
> ` ` ` U ' '
>
>
> Atul Gosain
> Mindframe Software and Services Pvt. Ltd.
> A-50, Sector-39
> Noida(UP).
> ph no: 4500369,4575991
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list