<font size=2 face="sans-serif">Many thanks Terry ! It works like a charm
now</font>
<br>
<br><font size=2 face="sans-serif">Michal</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Terry <td3201@gmail.com></b>
</font>
<p><font size=1 face="sans-serif">10/11/2010 03:31 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Nagios Users List <nagios-users@lists.sourceforge.net></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Nagios Users List <nagios-users@lists.sourceforge.net></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Nagios-users] escalation question</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Mon, Oct 11, 2010 at 3:48 AM,<br>
<michal.lackovic@cz.schneider-electric.com> wrote:<br>
> Hi All,<br>
><br>
> Is there any way how to create service escalation in the following
way:<br>
><br>
> hostgroup_name                Group1,Group2<br>
> service_description              
 *<br>
> contact_group                
       Managers<br>
><br>
> Basically I would need to escalate all service problems on the hosts
which<br>
> are members of Group1 and Group2 to the managers.<br>
><br>
> thanks in advance<br>
> Michal<br>
><br>
> ------------------------------------------------------------------------------<br>
<br>
Yes, you're exactly right.  We took it a step further and put all<br>
hosts in a single group then globbed it as you did above:<br>
<br>
define serviceescalation{<br>
        hostgroup_name        
 allhosts<br>
        service_description     .*<br>
        contacts          
     foo,foo2<br>
        first_notification      1<br>
        last_notification       1<br>
        notification_interval   1<br>
        escalation_options      w,u,c<br>
        }<br>
define hostgroup {<br>
        hostgroup_name  allhosts<br>
        alias           allhosts<br>
        members         .*<br>
        }<br>
use_regexp_matching=1<br>
<br>
I think that's all you need to enable globbing.<br>
<br>
------------------------------------------------------------------------------<br>
Beautiful is writing same markup. Internet Explorer 9 supports<br>
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 &
L3.<br>
Spend less time writing and  rewriting code and more time creating
great<br>
experiences on the web. Be a part of the beta today.<br>
</font></tt><a href=http://p.sf.net/sfu/beautyoftheweb><tt><font size=2>http://p.sf.net/sfu/beautyoftheweb</font></tt></a><tt><font size=2><br>
_______________________________________________<br>
Nagios-users mailing list<br>
Nagios-users@lists.sourceforge.net<br>
</font></tt><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users"><tt><font size=2>https://lists.sourceforge.net/lists/listinfo/nagios-users</font></tt></a><tt><font size=2><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. <br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
______________________________________________________________________<br>
</font></tt>
<br>