From 55bc28fdd800935b94e035f4888f1477d10cffa9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 13 Mar 2015 15:50:08 +0000 Subject: [PATCH] Adjust things more, change initial interval to 10min for escalation --- .../nagios_server/files/nagios/escalations.cfg | 4 ++-- .../files/nagios/hosts/templates.cfg | 10 +++++----- .../files/nagios/services/templates.cfg | 18 +++++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/roles/nagios_server/files/nagios/escalations.cfg b/roles/nagios_server/files/nagios/escalations.cfg index f5561fc491..e4fc8ea51d 100644 --- a/roles/nagios_server/files/nagios/escalations.cfg +++ b/roles/nagios_server/files/nagios/escalations.cfg @@ -1,7 +1,7 @@ define hostescalation{ host_name * hostgroup_name * - contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency + contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency,fedora-sysadmin-ircbot first_notification 2 last_notification 0 notification_interval 60 @@ -13,7 +13,7 @@ define hostescalation{ define serviceescalation{ host_name * hostgroup_name * - contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency + contact_groups fedora-sysadmin-email,fedora-sysadmin-emergency,fedora-sysadmin-ircbot first_notification 2 last_notification 0 notification_interval 60 diff --git a/roles/nagios_server/files/nagios/hosts/templates.cfg b/roles/nagios_server/files/nagios/hosts/templates.cfg index aaa6943bcb..eebe47c86a 100644 --- a/roles/nagios_server/files/nagios/hosts/templates.cfg +++ b/roles/nagios_server/files/nagios/hosts/templates.cfg @@ -7,7 +7,7 @@ define host { failure_prediction_enabled 0 retain_status_information 1 retain_nonstatus_information 1 - notification_interval 480 + notification_interval 10 notifications_enabled 1 notification_options d,r contact_groups fedora-sysadmin-ircbot @@ -23,7 +23,7 @@ define host { failure_prediction_enabled 0 retain_status_information 1 retain_nonstatus_information 1 - notification_interval 480 + notification_interval 10 notifications_enabled 1 notification_options d,r contact_groups fedora-sysadmin-ircbot @@ -53,7 +53,7 @@ define host { failure_prediction_enabled 0 retain_status_information 1 retain_nonstatus_information 1 - notification_interval 480 + notification_interval 10 notifications_enabled 1 notification_options d,r contact_groups ppc-secondary-email @@ -68,7 +68,7 @@ define host { failure_prediction_enabled 0 retain_status_information 1 retain_nonstatus_information 1 - notification_interval 480 + notification_interval 10 notifications_enabled 1 notification_options d,r contact_groups retrace-email @@ -82,7 +82,7 @@ define host { failure_prediction_enabled 0 retain_status_information 1 retain_nonstatus_information 1 - notification_interval 480 + notification_interval 10 notifications_enabled 1 notification_options d,r contact_groups fedora-sysadmin-ircbot diff --git a/roles/nagios_server/files/nagios/services/templates.cfg b/roles/nagios_server/files/nagios/services/templates.cfg index 2f7050d34a..63e340eb21 100644 --- a/roles/nagios_server/files/nagios/services/templates.cfg +++ b/roles/nagios_server/files/nagios/services/templates.cfg @@ -4,7 +4,7 @@ define service { normal_check_interval 5 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -19,7 +19,7 @@ define service { normal_check_interval 10 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -33,7 +33,7 @@ define service { normal_check_interval 30 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -47,7 +47,7 @@ define service { normal_check_interval 30 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -61,7 +61,7 @@ define service { normal_check_interval 480 retry_check_interval 5 check_period 16x7 - notification_interval 500 + notification_interval 10 notification_period 16x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -75,7 +75,7 @@ define service { normal_check_interval 5 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -89,7 +89,7 @@ define service { normal_check_interval 5 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -128,7 +128,7 @@ define service { normal_check_interval 10 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot @@ -142,7 +142,7 @@ define service { normal_check_interval 10 retry_check_interval 1 check_period 24x7 - notification_interval 360 + notification_interval 10 notification_period 24x7 notification_options w,u,c,r contact_groups fedora-sysadmin-ircbot