[icinga-users] host is up notifications

Wolfgang wnd at gmx.net
Fri Feb 8 16:41:22 CET 2013


... and that explains the 60 minute notification interval as well ;-)
-------- Original-Nachricht --------
> Datum: Fri, 08 Feb 2013 16:26:06 +0100
> Von: Simon Oosthoek <soosthoek at nieuwland.nl>
> An: icinga-users at lists.sourceforge.net
> Betreff: Re: [icinga-users] host is up notifications

> On 02/08/2013 04:11 PM, Wolfgang wrote:
> > Notifications are sent when the status changes into a HARD state, or
> when in a non_OK-state and a notification interval is set.
> >
> > Please check if the notifications are sent right after the host is
> checked.
> > On the other hand the mail interval doesn't match the notification
> interval.
> 
> I think I figured it out and it's my own fault :-(
> 
> The script is stupendously simpel (as in stupid) and I use the same 
> script for host and service notifications (which is wrong!) I just 
> forgot to adjust it for service notifications...
> 
> So every time the service check comes up critical (which it does, with 
> 3% left free on /home), the script is called, sends out the host status, 
> which is UP. So instead of notifying me of the disk problem, the script 
> sends out the host variables values instead.
> 
> So problem solved ;-)
> 
> Thanks for helping me debug it, Wolfgang!
> 
> Cheers
> 
> Simon
> 
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users




More information about the icinga-users mailing list