Alexandros Kosiaris has uploaded a new change for review. https://gerrit.wikimedia.org/r/189475
Change subject: icinga: use DNS, not IP in wikidata check ...................................................................... icinga: use DNS, not IP in wikidata check The wikidata lag check was using a hardcoded IP for its lag check. That is error prone, bypasses GeoIP and forces the icinga server to check via a host one continent away adding latency to the check execution. Use DNS instead Change-Id: Ie7fa2cc103e04f4a6054ef81c3e5267c70513d71 --- M modules/nagios_common/files/check_commands/check_wikidata 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/75/189475/1 diff --git a/modules/nagios_common/files/check_commands/check_wikidata b/modules/nagios_common/files/check_commands/check_wikidata index c71de14..f03d248 100644 --- a/modules/nagios_common/files/check_commands/check_wikidata +++ b/modules/nagios_common/files/check_commands/check_wikidata @@ -1,2 +1,2 @@ #!/bin/bash -/usr/lib/nagios/plugins/check_http -H www.wikidata.org -I 91.198.174.192 -S -u "/w/api.php?action=query&meta=siteinfo&format=json&siprop=statistics" --linespan --ereg '"median":[^}]*"lag":[1-5]?[0-9],' +/usr/lib/nagios/plugins/check_http -H www.wikidata.org -I www.wikidata.org -S -u "/w/api.php?action=query&meta=siteinfo&format=json&siprop=statistics" --linespan --ereg '"median":[^}]*"lag":[1-5]?[0-9],' -- To view, visit https://gerrit.wikimedia.org/r/189475 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie7fa2cc103e04f4a6054ef81c3e5267c70513d71 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
