<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Host Escalation Problems</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=560383316-17082004>I guess I wasn't patient enough. The config below
seems to work. My alerts were not coming in quite as expected but I was
not allowing for time to run the checks themselves.</SPAN></FONT></DIV><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of
</B>CWaters@jeld-wen.com<BR><B>Sent:</B> Monday, August 16, 2004 6:24
PM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] Host Escalation Problems<BR></FONT><BR></DIV>
<DIV></DIV>
<P><FONT size=2>I am having a problem trying to get host notifications sent to
my ticketing system only on the first notification and to my admins group for
all notifications. I have read the documentation and it says that
overlapping notificaions should work. Here are the appropriate portions
of my config files. I hope I am missing something obvious because I have
tried several iterations of the hostgroupescalations with mixed results.
In this configuration, everyone gets the first notfication and none after
that. Other configs I have tried have sent notifications continuously to
admins but not to the ticketing group at all. I am sure there were other
results but too many to list.</FONT></P><BR>
<P><FONT size=2>define hostgroupescalation{</FONT> <BR><FONT
size=2>
hostgroup_name
myhosts,myotherhosts</FONT> <BR><FONT
size=2>
first_notification 1</FONT> <BR><FONT
size=2>
last_notification 1</FONT> <BR><FONT
size=2>
notification_interval 15</FONT> <BR><FONT
size=2>
contact_groups
ticketing</FONT> <BR><FONT size=2>
}</FONT> </P>
<P><FONT size=2>define hostgroupescalation{</FONT> <BR><FONT
size=2>
hostgroup_name
myhosts,myotherhosts</FONT> <BR><FONT
size=2>
first_notification 1</FONT> <BR><FONT
size=2>
last_notification 0</FONT> <BR><FONT
size=2>
notification_interval 15</FONT> <BR><FONT
size=2>
contact_groups
admins</FONT> <BR><FONT size=2>
}</FONT> </P><BR><BR>
<P><FONT size=2>define host {</FONT> <BR><FONT size=2>
use generic-host</FONT> <BR><FONT size=2>
host_name networkdev</FONT> <BR><FONT size=2>
alias networkdev </FONT><BR><FONT
size=2> address
172.16.11.229</FONT> <BR><FONT size=2>
parents r_kla</FONT> <BR><FONT
size=2> check_command
check-host-alive</FONT> <BR><FONT size=2>
max_check_attempts 3</FONT> <BR><FONT
size=2> notification_interval 15</FONT>
<BR><FONT size=2> notification_period
24x7</FONT> <BR><FONT size=2>
notification_options d,u,r</FONT> <BR><FONT size=2>}</FONT>
</P><BR>
<P><FONT size=2>define service {</FONT> <BR><FONT size=2>
use generic-service</FONT> <BR><FONT
size=2> host_name
localhost,r_kla,r_internet,networkdev</FONT> <BR><FONT
size=2> service_description Alive</FONT>
<BR><FONT size=2> contact_groups
admins</FONT> <BR><FONT size=2>
check_period 24x7</FONT> <BR><FONT size=2>
notification_interval 15</FONT> <BR><FONT
size=2> notification_options u,c,r</FONT>
<BR><FONT size=2> notification_period
24x7</FONT> <BR><FONT size=2>
check_command check-host-alive</FONT> <BR><FONT
size=2> max_check_attempts 3</FONT>
<BR><FONT size=2> normal_check_interval
5</FONT> <BR><FONT size=2>
retry_check_interval 1</FONT> <BR><FONT size=2>}</FONT> </P>
<P><FONT size=2>define hostgroup {</FONT> <BR><FONT size=2>
hostgroup_name myhosts</FONT> <BR><FONT
size=2> alias myhosts</FONT> <BR><FONT
size=2> contact_groups admins</FONT>
<BR><FONT size=2> members
r_kla,networkdev,r_internet</FONT> <BR><FONT size=2>}</FONT> </P><BR><BR>
<P><FONT size=2>Thanks, I hope someone can set me striaght.</FONT> </P>
<P><FONT size=2>Chris Waters</FONT> </P><BR></BLOCKQUOTE></BODY></HTML>