Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/183512
Change subject: Followup commit for 51df8f0
......................................................................
Followup commit for 51df8f0
The monitoring fix for apertium in 51df8f0 was missing the Host header
resulting in unknown. Fix and reorder a bit things in the definition to
make it look better
Change-Id: I7d0779e074a7834b724b0a0a4c2a32ed9bf34024
---
M manifests/role/apertium.pp
M modules/nagios_common/files/checkcommands.cfg
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/12/183512/1
diff --git a/manifests/role/apertium.pp b/manifests/role/apertium.pp
index 294d89b..dd178ca 100644
--- a/manifests/role/apertium.pp
+++ b/manifests/role/apertium.pp
@@ -18,7 +18,7 @@
monitoring::service { 'apertium':
description => 'apertium apy',
- check_command => "check_http_url_on_port!${apertium_port}!/listPairs",
+ check_command =>
"check_http_url_on_port!apertium.svc.eqiad.wmnet!${apertium_port}!/listPairs",
}
}
diff --git a/modules/nagios_common/files/checkcommands.cfg
b/modules/nagios_common/files/checkcommands.cfg
index 88f092e..195145d 100644
--- a/modules/nagios_common/files/checkcommands.cfg
+++ b/modules/nagios_common/files/checkcommands.cfg
@@ -269,7 +269,7 @@
define command{
command_name check_http_url_on_port
- command_line $USER1$/check_http -H $ARG1$ -p $ARG2$ -I $HOSTADDRESS$ -u
"$ARG3$"
+ command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -p $ARG2$ -u
"$ARG3$"
}
define command {
--
To view, visit https://gerrit.wikimedia.org/r/183512
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d0779e074a7834b724b0a0a4c2a32ed9bf34024
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits