Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/169265

Change subject: phabricator - add monitoring
......................................................................

phabricator - add monitoring

check https://phabricator.wikimedia.org
for being up, having non-expired cert and having
string "Maniphest" in it

cert checking included because of -S option to check_http

Change-Id: I656fff210d3796153e64b160a7e97d0f78bd0a85
---
M modules/phabricator/manifests/init.pp
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/65/169265/1

diff --git a/modules/phabricator/manifests/init.pp 
b/modules/phabricator/manifests/init.pp
index 3613591..e37db8c 100644
--- a/modules/phabricator/manifests/init.pp
+++ b/modules/phabricator/manifests/init.pp
@@ -138,6 +138,10 @@
     apache::site { 'phabricator':
         content => template('phabricator/phabricator-default.conf.erb'),
     }
+    monitor_service { 'phab-https':
+        description   => 'phabricator.wikimedia.org',
+        check_command => 
'check_https_url_for_string!phabricator.wikimedia.org!Maniphest',
+    }
 
     file { $phabdir:
         ensure => directory,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I656fff210d3796153e64b160a7e97d0f78bd0a85
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

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

Reply via email to