Creating Delay in notifications

Fredrik Wänglund Fredrik.Wanglund at datavis.se
Tue Oct 8 13:49:09 CEST 2002


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




More information about the Users mailing list