Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: icinga: Increase the check intervals
......................................................................

icinga: Increase the check intervals

Checking the time of a box every minute makes little sense. The time is
not going to change that drastically in a minute. Increase the interval
10x. Increase the retry interval as well 5x, since the clock actually
coalescing takes some time. Decrease the retries to 3. That should allow
25 mins of a skewed clock before an alert is issued which should cover
most edge cases with false positives. It should also decrease the number
of checks the icinga server is forced to do

Change-Id: I36d16a979abd876a4a4ae03e39f306cdf855fc74
---
M modules/standard/manifests/ntp/client.pp
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/62/319062/1

diff --git a/modules/standard/manifests/ntp/client.pp 
b/modules/standard/manifests/ntp/client.pp
index 8691708..daa4fd2 100644
--- a/modules/standard/manifests/ntp/client.pp
+++ b/modules/standard/manifests/ntp/client.pp
@@ -20,9 +20,10 @@
     }
 
     monitoring::service { 'ntp':
-        description   => 'NTP',
-        check_command => 'check_ntp_time!0.5!1',
-        retries       => 20, # wait for resync, don't flap after restart
+        description    => 'NTP',
+        check_command  => 'check_ntp_time!0.5!1',
+        check_interval => 10,
+        retry_interval => 5,
     }
 
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I36d16a979abd876a4a4ae03e39f306cdf855fc74
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

Reply via email to