Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334220 )

Change subject: icinga/wikitech-static: add contact_group for https monitor
......................................................................

icinga/wikitech-static: add contact_group for https monitor

Add a new contact group to Icinga called wikitech-static,
consisting of admins (IRC bot) and krenair.

Use contact group for newly added HTTPS monitoring of wikitech-static
for email notifications.

Bug: T156294
Change-Id: Ib018d82092b319eb58811015181cd38fe400ed68
---
M modules/icinga/manifests/monitor/certs.pp
M modules/nagios_common/files/contactgroups.cfg
2 files changed, 9 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/20/334220/1

diff --git a/modules/icinga/manifests/monitor/certs.pp 
b/modules/icinga/manifests/monitor/certs.pp
index c7335fa..f0f6a17 100644
--- a/modules/icinga/manifests/monitor/certs.pp
+++ b/modules/icinga/manifests/monitor/certs.pp
@@ -9,9 +9,10 @@
         host_fqdn     => 'blog.wikimedia.org',
     }
     monitoring::service { 'https_blog':
-        description   => 'HTTPS-blog',
-        check_command => 'check_ssl_http_letsencrypt!blog.wikimedia.org',
-        host          => 'blog.wikimedia.org',
+        description    => 'HTTPS-blog',
+        check_command  => 'check_ssl_http_letsencrypt!blog.wikimedia.org',
+        host           => 'blog.wikimedia.org',
+       contact_groups => 'wikitech-static',
     }
 
     # policy.wikimedia.org (external, Wordpress/Automattic)
diff --git a/modules/nagios_common/files/contactgroups.cfg 
b/modules/nagios_common/files/contactgroups.cfg
index 032e128..3a9007b 100644
--- a/modules/nagios_common/files/contactgroups.cfg
+++ b/modules/nagios_common/files/contactgroups.cfg
@@ -90,3 +90,8 @@
     contactgroup_name   legal
     members             slaporte,zhousquared
 }
+
+define contactgroup {
+    contactgroup_name   wikitech-static
+    members             admins, krenair
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/334220
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib018d82092b319eb58811015181cd38fe400ed68
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to