escalation question
michal.lackovic at cz.schneider-electric.com
michal.lackovic at cz.schneider-electric.com
Wed Oct 13 09:42:15 CEST 2010
Many thanks Terry ! It works like a charm now
Michal
Terry <td3201 at gmail.com>
10/11/2010 03:31 PM
Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>
To
Nagios Users List <nagios-users at lists.sourceforge.net>
cc
Subject
Re: [Nagios-users] escalation question
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
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/e045410f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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