<br><div><span class="gmail_quote"></span>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.
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><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>}<br><br>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>}<br>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>}<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>}<br></div></blockquote></div><div><span class="e" id="q_10d27ae65e97a93a_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span></span><br><br>Contactgroup:<br><br>define contactgroup{<br> contactgroup_name admins<br> alias Nagios Administrators<br> members nagios<br> }
<br> </div></blockquote></span></div></div></blockquote> Contacts:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div>
<br>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> }<br><br><br></div>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?
</div></div></blockquote><div><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> }<br><br></div><br></div><br>Anyone have any insight on this? I haven't been able to figure out why this shouldn't work. Thanks.
<br><br>Jeff<br>