Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169619
Change subject: add phab check command to old checkcommands.cfg
......................................................................
add phab check command to old checkcommands.cfg
since adding a new file into the check_commands
does not make Icinga find the command
so i'm using the old file we always used until
YuviPanda can teach me what the current way should be
honestly, the different places and ways to add them
is a bit confusing
Change-Id: I100dffb5a829aef8183c5e884c392fca857187d2
---
M modules/nagios_common/files/checkcommands.cfg
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/19/169619/1
diff --git a/modules/nagios_common/files/checkcommands.cfg
b/modules/nagios_common/files/checkcommands.cfg
index 81c4a14..cb633bb 100644
--- a/modules/nagios_common/files/checkcommands.cfg
+++ b/modules/nagios_common/files/checkcommands.cfg
@@ -453,3 +453,12 @@
command_name nrpe_check_ocg_health
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c
check_ocg_health
}
+
+# custom command to check phabricator behind misc-web
+# using the -S should also give us cert expiry monitoring
+# we are also checking for string 'Wikimedia' to be in there
+# so it should trigger if 200 but shows something else
+define command{
+ command_name check_https_phabricator
+ command_line /usr/lib/nagios/plugins/check_http -S -H
'phabricator.wikimedia.org' -I misc-web-lb.eqiad.wikimedia.org -u
'https://phabricator.wikimedia.org/' -s 'Wikimedia and MediaWiki'
+ }
--
To view, visit https://gerrit.wikimedia.org/r/169619
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I100dffb5a829aef8183c5e884c392fca857187d2
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