summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-06-14 08:05:25 +0000
committerintrigeri <intrigeri@boum.org>2019-06-14 08:05:25 +0000
commitc5036e8c0e380b570118c0fa8499c004307c7675 (patch)
tree666b49478c18f3e77e2b94e982931083e2aabdd1
parentc2e914764a0b0a2a29c5f5b64075599eb2fcd212 (diff)
Monitoring: adjust apt check to unattended-upgrades (#15510).
unattended-upgrades is run by apt-daily-upgrade.timer, which runs only every ~24h, so checking every hour whether a package could be upgraded is bound to create noise and unnecessary pressure on our sysadmins: the upgrade will be applied automatically within 24h anyway. This monitoring check is there only to tell us about packages that *cannot* be upgraded automatically, e.g. for systems where we disabled unattended-upgrades.
-rw-r--r--manifests/monitoring/config/common_services.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/monitoring/config/common_services.pp b/manifests/monitoring/config/common_services.pp
index b089098..8a40f3d 100644
--- a/manifests/monitoring/config/common_services.pp
+++ b/manifests/monitoring/config/common_services.pp
@@ -18,9 +18,9 @@ class tails::monitoring::config::common_services (
nodename => $nodename,
zone => $zone,
check_command => 'apt',
- check_interval => '1h',
- retry_interval => '10m',
- max_check_attempts => 24,
+ check_interval => '12h',
+ retry_interval => '1h',
+ max_check_attempts => 12,
tag => $parent_zone,
}