This probably really was a bug in nagios:
http://tracker.nagios.org/view.php?id=130

Thanks for the help!

Kind regards
Denis

On 17.09.2013 17:17, Russell Van Tassell wrote:
> If Nagios didn't also fire an event handler for EVERY status change,
> their documentation seems to suggest it would be a bug...
> 
> http://nagios.sourceforge.net/docs/3_0/eventhandlers.html
> 
> -- 
> Russell M. Van Tassell
> russ...@geekoncall.net <mailto:russ...@geekoncall.net>
> 
> This message was sent from my wireless phone.
> 
> On Sep 17, 2013 8:09 AM, "Denis Simonet"
> <denis.simo...@adfinis-sygroup.ch
> <mailto:denis.simo...@adfinis-sygroup.ch>> wrote:
> 
>     > an eventhandler behaves differently than the notification logic
>     does. so
>     > *if* you're comparing things, you should look for eventhandlers.
>     >
>     > and yet, i doubt the behaviour change unless proven with a working
>     > example from both core versions.
>     Well, it is possible that this changed with newer Nagios versions. It
>     seems to be worth a try to verify - I will send another eMail as soon as
>     I did so.
> 
>     > so your eventhandler wraps the notification logic into its very own
>     > algorithm and does the voodoo inside. i'd rather look for errors
>     in your
>     > script then, catching up with "host down, don't send service
>     notification".
>     I didn't check this in our logic up to now because when we used nagios,
>     nagios was doing it. Or at least I thought that it would do so. The
>     question should have been: Why does the event handler trigger for
>     services when their host is down?
> 
>     >
>     > that's a very common case that eventhandlers get called even if
>     the host
>     > is down...
>     > http://docs.icinga.org/latest/en/eventhandlers.html#execution
>     >
>     > and well - for the interested readers - why can't icinga handle the
>     > notification logic itsself, and why are you using a proprietary event
>     > handler wrapper for that?
>     We wrote a frontend application for Icinga (formerly Nagios) where we
>     can administer hosts and export configuration files for Icinga. In the
>     same applications teams can be configured on a daily basis. The alerting
>     itself is done in a round robin way and the alerts are all logged in our
>     application. Therefore it was the easiest solution to write an own
>     daemon application which does the alerting.
> 
>     > next time, please tell about that in the first place. makes error
>     lookup
>     > pretty hard if one thinks of notifications, but the user (you) is just
>     > using eventhandlers. totally different part of the story.
>     I accidentially messed up notification with event handler - I don't
>     think this is a crime :P
> 
>     Denis
> 
> 
>     
> ------------------------------------------------------------------------------
>     LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>     1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>     SharePoint
>     2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power
>     Pack includes
>     Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>     
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>     _______________________________________________
>     icinga-users mailing list
>     icinga-users@lists.sourceforge.net
>     <mailto:icinga-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/icinga-users
> 
> 
> 
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> 
> 
> 
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
> 

-- 
Adfinis SyGroup AG
Denis Simonet, Software Engineer

Keltenstrasse 98 | CH-3018 Bern
Tel. +41 31 550 31 11 | Direkt +41 31 550 31 16

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to