Dzahn has submitted this change and it was merged.

Change subject: icinga: add cert expiry check for icinga itself
......................................................................


icinga: add cert expiry check for icinga itself

Adds a check for SSL cert expiry on icinga itself.

Bug:T114059
Change-Id: If260112567215bb91f9d403c328a379407375474
---
M manifests/role/icinga.pp
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/manifests/role/icinga.pp b/manifests/role/icinga.pp
index 3f69b5e..89ed757 100644
--- a/manifests/role/icinga.pp
+++ b/manifests/role/icinga.pp
@@ -34,6 +34,11 @@
     $ssl_settings = ssl_ciphersuite('apache-2.2', 'compat', '365')
     sslcert::certificate { 'icinga.wikimedia.org': }
 
+    monitoring::service { 'https':
+        description   => 'HTTPS',
+        check_command => 'check_ssl_http!icinga.wikimedia.org',
+    }
+
     class { '::icinga':            }
     class { '::icinga::web':       }
     class { '::icinga::naggen':    }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If260112567215bb91f9d403c328a379407375474
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: RobH <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to