On 17.09.2013 16:40, Denis Simonet wrote: > Heya > > Thank you for the fast answer. > >> notification != eventhandler > Right. > >>> Did I configure something wrong or has Icinga's behaviour changed? >> >> you have obviously abused an eventhandler for notifications. > Well, in fact this is what I want to do. The event handler calls a > script which tells our self-written application what happened. I am very > sure that this worked differently like a year ago with Nagios. I am not > sure about the time but I am sure that this was the case once back in > time :).
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. > As notification is not done by Icinga in our setup I don't see another > solution than this one. But probably I am wrong - anyone? :) 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". 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? 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. jm2c, michael -- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org ------------------------------------------------------------------------------ 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