Do I have to explicitly say in the escalations that warnings should stop at 1 notification, rather than just say only critical and recovery can go from 2 to 5 like I had before? Do I have to put something like this?<font face="Times New Roman" size="1">
<br><font size="2"><br><font size="1"><span style="font-size: 12pt;"><font size="2">define serviceescalation{<br>
host_name
viper</font><br>
<font size="2">
service_description
DISK /<br>
first_notification 1<br>
last_notification 1<br>
notification_interval 0 <br>
contact_groups
admins<br>
escalation_options w<br>
}</font></span></font></font></font><font size="2"><br><br><br></font><div><font size="2"><span class="gmail_quote">On 8/23/06, <b class="gmail_sendername">Michael Koprowski</b> <<a href="mailto:mkoprowski@computerns.com">
mkoprowski@computerns.com</a>> wrote:</span></font><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div link="blue" vlink="blue" lang="EN-US">
<div>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I may be wrong, but my interpretation is you
will receive a warning, unknown, critical, and recovery alerts if these changes
are reported on viper's disk and will notify you every 5 minutes.</span></font></p>
</div><p><font face="Times New Roman" size="2"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><font face="Times New Roman" size="2"><span style="font-size: 12pt;"><font size="1">If I have a host called viper with the following definitions, I'm
wondering why the group admins gets warning notifications for the service
"DISK /" after the first notification. To me, these definitions say
that admins should get no more than 5 notifications and no warning
notifications after the first one. Am I wrong in thinking that? In testing
this, the admins group got at least 8 warning notifications.</font> </span></font></p>
<div>
<div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<div>
<p><font face="Times New Roman" size="2"><span style="font-size: 12pt;"><font size="2"><br>
host definition<br>
define host{<br>
use
generic-host<br>
host_name
viper<br>
alias
viper<br>
address
<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a><br>
parents
localhost<br>
check_command
check-host-alive<br>
notification_interval 0<br>
notification_options d,r<br>
notification_period never <br>
contact_groups
admins<br>
}</font><br>
<br><font size="2">
service definition<br>
define service{<br>
use
generic-service<br>
host_name
viper<br>
service_description
DISK / <br>
is_volatile
0<br>
check_period
24x7<br>
retry_check_interval 1<br>
contact_groups
admins<br>
notification_interval 5 <br>
notification_period
24x7<br>
notification_options
w,u,c,r<br>
check_command
check_nrpe!check_disk1<br>
}<br><br>
escalation definition<br>
define serviceescalation{ <br>
host_name
viper<br>
service_description
DISK /<br>
first_notification
2<br>
last_notification
2<br>
notification_interval
5 <br>
contact_groups
admins<br>
escalation_options
c,r<br>
}</font>
<br><font size="2">
define serviceescalation{<br>
host_name
viper<br>
service_description
DISK / <br>
first_notification
3<br>
last_notification
4<br>
notification_interval 5<br>
contact_groups
admins<br>
escalation_options
c,r <br>
}</font><font size="2"><br>
define serviceescalation{<br>
host_name
viper<br>
service_description
DISK /<br>
first_notification
5<br>
last_notification
0<br>
notification_interval 0 <br>
contact_groups
admins<br>
escalation_options
c,r<br>
}</font></span></font></p>
</div>
</blockquote>
</div>
<div><font size="1"><span>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<div>
<p><font face="Times New Roman"><span style="font-size: 12pt;"><br>
<br><font size="2">
Contactgroup:<br><br>
define contactgroup{<br>
contactgroup_name admins<br>
alias
Nagios Administrators<br>
members
nagios<br>
}</font>
<br>
</span></font></p>
</div>
</blockquote>
</span></font></div>
</div>
<p><font face="Times New Roman" size="1"><span style="font-size: 12pt;"> <font size="2"> Contacts:</font></span></font></p>
<div>
<div>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="1"><span style="font-size: 12pt;"><br><font size="2">
define contact{<br>
contact_name
nagios<br>
alias
Nagios Admin<br>
service_notification_period 24x7<br>
host_notification_period 24x7 <br>
service_notification_options w,u,c,r<br>
host_notification_options d,r<br>
service_notification_commands
notify-by-email<br>
host_notification_commands host-notify-by-email <br>
email
<a href="mailto:email@domain.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">email@domain.com</a><br>
}</font><br>
<br>
</span></font></p>
</div>
<p><font face="Times New Roman" size="2"><span style="font-size: 12pt;"><font size="1">The group "admins" should get warnings, but since the
escalation file says only go past original notification for critical and
recovery, shouldn't I just get 1 warning notification or 2 at most?</font> </span></font></p>
</div>
</div>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="2"><span style="font-size: 12pt;"><font size="2"><br><br>
Also, here are the generic-host and generic-service definitions. I forgot to
include those before as well.<br><br>
define host{<br>
name
generic-host ; The name of this host template <br>
check_interval
0<br>
max_check_attempts
2<br>
notifications_enabled
1 ; Host notifications are enabled<br>
event_handler_enabled
1 ; Host event handler is enabled <br>
flap_detection_enabled
1 ; Flap detection is enabled<br>
failure_prediction_enabled
1 ; Failure prediction is enabled<br>
process_perf_data
1 ; Process performance data <br>
retain_status_information
1 ; Retain status information across
program restarts<br>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts<br>
register
0 ; DONT REGISTER THIS DEFINITION - ITS NOT
A REAL HOST, JUST A TEMPLATE! <br>
} <br><br>
define service{<br>
name
generic-service ; The 'name' of this service template<br>
max_check_attempts
2<br>
normal_check_interval
5 <br>
active_checks_enabled
1 ; Active service checks are enabled<br>
passive_checks_enabled
1 ; Passive service checks are
enabled/accepted<br>
parallelize_check
1 ; Active service checks should be
parallelized (disabling this can lead to major performance problems) <br>
obsess_over_service
1 ; We should obsess over this service (if
necessary)<br>
check_freshness
0 ; Default is to NOT check service
'freshness'<br>
notifications_enabled
1 ; Service notifications are enabled <br>
event_handler_enabled
1 ; Service event handler is enabled<br>
flap_detection_enabled
1 ; Flap detection is enabled<br>
failure_prediction_enabled
1 ; Failure prediction is enabled <br>
process_perf_data
1 ; Process performance data<br>
retain_status_information
1 ; Retain status information across
program restarts<br>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts <br>
register
0 ; DONT REGISTER THIS DEFINITION - ITS NOT
A REAL SERVICE, JUST A TEMPLATE!<br>
}</font>
<br></span></font></p>
</div></div></div>
</div>
</div></blockquote></div><br>