Yuvipanda has submitted this change and it was merged.
Change subject: beta: Fix http uptime check
......................................................................
beta: Fix http uptime check
Change-Id: Ie0cb0c25a31668f5f2afd9dc9ae554987456ea5d
---
M modules/beta/files/shinken/hosts.cfg
1 file changed, 12 insertions(+), 13 deletions(-)
Approvals:
Yuvipanda: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/beta/files/shinken/hosts.cfg
b/modules/beta/files/shinken/hosts.cfg
index 20010a9..e8130dc 100644
--- a/modules/beta/files/shinken/hosts.cfg
+++ b/modules/beta/files/shinken/hosts.cfg
@@ -1,15 +1,14 @@
-# Virtual 'host' that refers to the entire beta cluster being up or down
-# UP/DOWN status defined as http availability of english betawiki main page
define host{
- host_name beta-cluster
- alias Generic Beta Cluster
- address en.wikipedia.beta.wmflabs.org
- check_command check_http!-h
en.wikipedia.beta.wmflabs.org -u / -t 10 -s 'Wikipedia'
- max_check_attempts 3
- check_period 24x7
- notification_interval 0
- notification_period 24x7
- retry_interval 1
- check_interval 5
- contact_groups deployment-prep
+ host_name beta-cluster
+ alias Generic Beta Cluster
+ address en.wikipedia.beta.wmflabs.org
+ contact_groups deployment-prep
+ use generic-host
+}
+
+define service {
+ service_description English Wikipedia Main page
+ host_name beta-cluster
+ check_command
check_http_url_for_string!en.wikipedia.beta.wmflabs.org!-u!/wiki/Main_Page?debug=true!Wikipedia
+ use generic-service
}
--
To view, visit https://gerrit.wikimedia.org/r/177692
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0cb0c25a31668f5f2afd9dc9ae554987456ea5d
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits