Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
nagios: Make queue warnings message CZO.
Alex Vandiver2b1e8c28b433
diff --git a/puppet/kandra/files/nagios4/conf.d/services.cfg b/puppet/kandra/files/nagios4/conf.d/services.cfgindex 3c1cd6be9dc..c487e4910c4 100644--- a/puppet/kandra/files/nagios4/conf.d/services.cfg+++ b/puppet/kandra/files/nagios4/conf.d/services.cfg@@ -279,7 +279,7 @@ define service {# Workaround weird checks 40s after first error causing alerts# from a single failure because cron hasn't run again yetmax_check_attempts 3- contact_groups page_admins+ contact_groups page_admins_and_warn_czo}define service {diff --git a/puppet/kandra/templates/nagios4/contacts.cfg.template.erb b/puppet/kandra/templates/nagios4/contacts.cfg.template.erbindex 75cbc02eed9..fefd83e76b3 100644--- a/puppet/kandra/templates/nagios4/contacts.cfg.template.erb+++ b/puppet/kandra/templates/nagios4/contacts.cfg.template.erb@@ -59,6 +59,19 @@ define contact {host_notification_commands notify-host-by-zulip}+define contact {+ contact_name kandra-ops-in-czo-warnings+ alias Notify kandra-ops on chat.zulip.org on warnings+ service_notifications_enabled 1+ host_notifications_enabled 0+ service_notification_period 24x7+ host_notification_period 24x7+ service_notification_options w,r+ host_notification_options n+ service_notification_commands notify-service-by-zulip+ host_notification_commands notify-host-by-zulip+}+###############################################################################################################################################################@@ -79,6 +92,12 @@ define contactgroup{members monitoring,pager}+define contactgroup{+ contactgroup_name page_admins_and_warn_czo+ alias Nagios Administrators+ members monitoring,pager,kandra-ops-in-czo-warnings+ }+define contactgroup{contactgroup_name ops_messagealias Message admins on CZO