Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Fix regexp for wikidata icinga check.
......................................................................


Fix regexp for wikidata icinga check.

The anchor at the the end was missing, so it accepted any lag. Now it alerts at
over 59.

Bug: T88980
Change-Id: I74f24afbfac35feb8de97f917204e48d28ea8a8f
---
M modules/nagios_common/files/check_commands/check_wikidata
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexandros Kosiaris: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/nagios_common/files/check_commands/check_wikidata 
b/modules/nagios_common/files/check_commands/check_wikidata
index 978d216..c71de14 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 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],'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I74f24afbfac35feb8de97f917204e48d28ea8a8f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: JanZerebecki <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Hoo man <[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

Reply via email to