JanZerebecki has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/189474

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/74/189474/1

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: newchange
Gerrit-Change-Id: I74f24afbfac35feb8de97f917204e48d28ea8a8f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: JanZerebecki <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to