[icinga-users] host is up notifications

Carl R. Friend crfriend at rcn.com
Fri Feb 8 16:49:42 CET 2013


    On Fri, 8 Feb 2013, Simon Oosthoek wrote:

> I'm kind of glad I'm not the only one flabbergasted by this ;-)

    Indeed.

> Perhaps it's in my contact settings?

    I see nothing unusual in there.

> Ah, right, that's my script :-)
>
> That seems to work, but a little too well perhaps?
>
> It's doing this:
> #!/bin/bash
>
> set |grep ICINGA >/tmp/icinga-debug

    What's the last timestamp on /tmp/icinga-debug?  That will
tell you whether it's your script getting called (although
that should show up in the icinga.log file).

> $ICINGA_NOTIFICATIONTYPE - Host $ICINGA_HOSTNAME is $ICINGA_HOSTSTATE

    Something is rotten here.  If I recall correctly, you posted a
sample notification that said "PROBLEM - host {foo} is UP" which
is insane because an UP page should be flagged as a RECOVERY.

    Another possibility: is your MTA doing strange things to you and
sending multiple copies?  This can happen if an SMTP handshake fails.
Check your mail queue to see if anything is wedged therein.

    Cheers!

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:crfriend at rcn.com                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+




More information about the icinga-users mailing list