escalation question

Terry td3201 at gmail.com
Mon Oct 11 15:31:27 CEST 2010


On Mon, Oct 11, 2010 at 3:48 AM,
<michal.lackovic at cz.schneider-electric.com> wrote:
> Hi All,
>
> Is there any way how to create service escalation in the following way:
>
> hostgroup_name                Group1,Group2
> service_description                *
> contact_group                        Managers
>
> Basically I would need to escalate all service problems on the hosts which
> are members of Group1 and Group2 to the managers.
>
> thanks in advance
> Michal
>
> ------------------------------------------------------------------------------

Yes, you're exactly right.  We took it a step further and put all
hosts in a single group then globbed it as you did above:

define serviceescalation{
        hostgroup_name          allhosts
        service_description     .*
        contacts                foo,foo2
        first_notification      1
        last_notification       1
        notification_interval   1
        escalation_options      w,u,c
        }
define hostgroup {
        hostgroup_name  allhosts
        alias           allhosts
        members         .*
        }
use_regexp_matching=1

I think that's all you need to enable globbing.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list