On 05.09.2013 14:33, Marc Haber wrote: > Hi, > > I have defined the following escalation: > > define serviceescalation { > service_description * > hostgroup_name norm-notify > contact_groups all-admins-mail > first_notification 1 > last_notification 0 > notification_interval 120 > escalation_options w,u,c,r > escalation_period 24x7 > } > > I would now like alarms generated by services in the service group ntp > to not use this escalation. > > I thus changed to: > > define serviceescalation { > service_description * > servicegroup_name !ntp > hostgroup_name norm-notify > contact_groups all-admins-mail > first_notification 1 > last_notification 0 > notification_interval 120 > escalation_options w,u,c,r > escalation_period 24x7 > } > > > define serviceescalation { > service_description * > servicegroup_name ntp > hostgroup_name norm-notify > contact_groups all-admins-mail > first_notification 10 > last_notification 0 > notification_interval 120 > escalation_options w,u,c,r > escalation_period 24x7 > } > > The line servicegroup_name !ntp is not accepted by icinga ("Error: > Could not expand servicegroups specified in service escalation"). > Removing the ! fixed the syntax, but not my semantics.
afaik servicegroup exclusions on escalations are not implemented/supported. patches/testcases welcome. > > What do I do to have a different escalation for my ntp service group? > > Greetings > Marc > > -- 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 ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users