<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Nagios 2.9 and Escalations.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Ahhhh – Thanks Robert. I think it would be of great help if the wildcard information was on the pages detailing service and host escalations! :)<BR>
<BR>
<BR>
On 7/6/07 2:30 PM, "Robert King" <robert.king@publishingtechnology.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Steven Haigh wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
I've read through the docs of serviceescalation and hostescalation and<BR>
there's one thing that remains unclear to me. If a hostescalation is<BR>
defined, does this ONLY activate when the host check fails (ie<BR>
check-host-alive) or if any of the services on the host fails?<BR>
<BR>
  <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>The host escalation will only be used for host checks. You'll need to escalate the services on the host separately.<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
If it's only triggered on the check-host-alive failing, is there an easy<BR>
way (ie a wildcard or similar) to activate escalation based on ALL<BR>
services for a host? Does this require a serviceescalation definition<BR>
for EVERY service on a host? I sure hope not!<BR>
<BR>
  <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Yes, you can use a wildcard, e.g.:<BR>
<BR>
define serviceescalation {<BR>
        hostgroups                      important-hosts<BR>
        service_description            *<BR>
        contact_groups                  all-page<BR>
        first_notification              5<BR>
        last_notification               20<BR>
        notification_interval           2<BR>
}<BR>
<BR>
For more information on this, see the Nagios manual section entitled "Time-saving tips for object definitions":<BR>
<BR>
<a href="http://nagios.sourceforge.net/docs/2_0/templatetricks.html">http://nagios.sourceforge.net/docs/2_0/templatetricks.html</a><BR>
<BR>
<BR>
Hope this helps,<BR>
<BR>
Rob<BR>
<BR>
--<BR>
</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:13.0px'><B>Robert King<BR>
</B>UNIX Systems Administrator<BR>
<I>Publishing Technology plc<BR>
</I>T: +1 401 331 2014 x120<BR>
F: +1 401 331 2015<BR>
robert.king@publishingtechnology.com<BR>
<a href="http://www.publishingtechnology.com">http://www.publishingtechnology.com</a> <a href="http://www.publishingtechnology.com/"><http://www.publishingtechnology.com/></a> <BR>
GPG Public key: <a href="http://tinyurl.com/9zmws">http://tinyurl.com/9zmws</a> <BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
-- <BR>
<BR>
Regards,<BR>
<BR>
Steven Haigh | IT Operations<BR>
Pacific Internet Australia Pty Ltd<BR>
<BR>
Email: steven_haigh@pacific.net.au<BR>
Direct Tel: +61 3 9674-7623<BR>
Fax: +61 3 9698-4866<BR>
www.pacific.net.au<BR>
<BR>
Level 1, 1 Southbank Boulevard<BR>
Southbank VIC 3006<BR>
<BR>
Pacific Internet is a next-generation IP communication solutions<BR>
provider, and the largest telco-independent Internet Communications<BR>
Service Provider by geographic reach in the Asia Pacific region.<BR>
www.pacnet.com<BR>
<BR>
SINGAPORE | HONG KONG | PHILIPPINES | AUSTRALIA | INDIA | THAILAND | MALAYSIA<BR>
</SPAN></FONT>
</BODY>
</HTML>