Faidon Liambotis has submitted this change and it was merged.

Change subject: mirrors: increase check_apt_mirror thresholds
......................................................................


mirrors: increase check_apt_mirror thresholds

Debian's dinstall pulse is every 6h, but the mirror pulse is towards its
end, and the duration of the steps preceding it varies. Warning at
exactly the 6-hour mark generates spurious warnings that clear up an
hour or two later.

Increase the warning threshold to 8h, giving ample time (2h) between the
dinstall pulse and warning. Increase the critical warning by 2 hours as
well, making it an (odd) 14h.

Change-Id: Ic830a13d99b4d9e82336bd2287a61166b299f977
---
M modules/mirrors/files/check_apt_mirror
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Faidon Liambotis: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/mirrors/files/check_apt_mirror 
b/modules/mirrors/files/check_apt_mirror
index b17ba20..3d88f80 100755
--- a/modules/mirrors/files/check_apt_mirror
+++ b/modules/mirrors/files/check_apt_mirror
@@ -11,8 +11,8 @@
 
 FQDN=$(hostname -f)
 STAMP=${TO}/project/trace/${FQDN}
-WARN=6
-CRITICAL=12
+WARN=8
+CRITICAL=14
 
 while [ $# -gt 0 ]
 do

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic830a13d99b4d9e82336bd2287a61166b299f977
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to