Special notifications handling in Nagios

Peter Gutmann peter.gutmann at db.com
Fri Mar 26 18:13:30 CET 2004


Perhaps you could use procmail to manage redirecting the notifications for 
you. In combination with cron, they should be able to redirect the e-mail 
flow where ever you want....

Peter 
----
Peter Gutmann
Peter.Gutmann at db.com





Petr Simek <psimek at jcu.cz>
Sent by: nagios-users-admin at lists.sourceforge.net
03/26/2004 06:34 AM

 
        To:     nagios-users at lists.sourceforge.net
        cc: 
        Subject:        Re: [Nagios-users] Special notifications handling in Nagios


On Thu, 25 Mar 2004, Joe Rhett wrote:

> I really don't see any problem with most of this.  All you need to do is
> set up the proper intersection of notification times for the hosts and
> the contacts. The only gotcha is ...
>
> >   at 1:00, then 'up state' notification will be sent at 7:00
>
> Uh.. nobody (no process) is going to hang around for 6 hours and wait to
> send you a notification.  Really.  Notifications are either sent or not
> at the time they are conceived :-(
>
> Now you can tune this using the notification options so that you don't
> get the notifications at night, but you get them in e-mail so that you
> can review them in the morning, but they didn't interrupt your sleep.
> All sorts of flexibility here.

Yes, I have email account where nagios notifications goes. But I am not
always within reach of computer to read emails. Therefore I want a special
contact to forward notifications as SMS to my mobile phone.

And I would special behavior at this contact - one notification when
service or host goes down a and one when goes up. This is no problem.
But I want delay down and up notifications normally sended between
23:00-6:59 into 7:00 and only in case that state at 23:00 is different
at 7:00. If there was a problem between 3:00 and 4:00 don't send
notifications to this contact. This problem I will see when I will read
emails, but at 7:00 is not actual.


*------------------------------------------------------------------------*
|                          Petr Simek   APS JU                           |
|                             psimek at jcu.cz                              |
*------------------------------------------------------------------------*



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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