<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/04/12 23:15, Jeff Leyser wrote:
<blockquote
cite="mid:CALAEgjLOU3eaqiirKCfCLt+F=h+kKUkdrm62cKSmV6W=rR59Tg@mail.gmail.com"
type="cite"><span style="">Greetings!</span>
<div style=""><br>
</div>
<div style="">Nagios 3.2.3, running on CentOS. I have two service
escalations setup:</div>
<div style=""><br>
</div>
<div style="">
<div><font face="'courier new', monospace">define
serviceescalation{</font></div>
<div><font face="'courier new', monospace">
servicegroup_name noncritical</font></div>
<div><font face="'courier new', monospace">
first_notification 1</font></div>
<div>
<font face="'courier new', monospace">
last_notification 0</font></div>
<div><font face="'courier new', monospace">
notification_interval 10</font></div>
<div><font face="'courier new', monospace">
escalation_options w,r</font></div>
<div><font face="'courier new', monospace"> contactgroups
Group1</font></div>
<div><font face="'courier new', monospace">}</font></div>
<div><font face="'courier new', monospace"><br>
</font></div>
<div><font face="'courier new', monospace">define
serviceescalation{</font></div>
<div><font face="'courier new', monospace">
servicegroup_name noncritical</font></div>
<div>
<font face="'courier new', monospace">
first_notification 1</font></div>
<div><font face="'courier new', monospace">
last_notification 0</font></div>
<div><font face="'courier new', monospace">
notification_interval 10</font></div>
<div><font face="'courier new', monospace">
escalation_options c,u,r</font></div>
<div><font face="'courier new', monospace"> contactgroups
Group2</font></div>
<div>
<font face="'courier new', monospace">}</font></div>
</div>
<div style=""><font face="'courier new', monospace"><br>
</font></div>
<div style=""><font face="arial, helvetica, sans-serif">What I
want to do is have all WARNINGS and associated RECOVERYs go to
Group1, while all CRITICAL and UNKNOWNs and associated
RECOVERYs go to group2.</font></div>
<div style=""><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div style=""><font face="arial, helvetica, sans-serif">For the
problem alerts, works great, each group only gets what is
defined. But both Group1 and Group2 get all RECOVERY
notifications, even for problem notifications they don't. </font></div>
<div style=""><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div style=""><font face="arial, helvetica, sans-serif">Is there a
way to achieve what I want? </font></div>
<div style=""><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div style=""><font face="arial, helvetica, sans-serif">Many
Thanks!</font></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
As is written in the documentation , recoveries will be send to
those that have all ready been notified about the issue regardless
of it's current status.<br>
<br>
So if the status went from OK to Warning then to Critical , those
in Warning and Critical groups will get the recovery notification.<br>
<br>
<a class="moz-txt-link-freetext" href="http://nagios.sourceforge.net/docs/nagioscore/3/en/escalations.html">http://nagios.sourceforge.net/docs/nagioscore/3/en/escalations.html</a><br>
</body>
</html>