Do samhain checks only half as often
authorPeter Palfrader <peter@palfrader.org>
Sun, 4 Feb 2018 23:51:28 +0000 (00:51 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 4 Feb 2018 23:51:39 +0000 (00:51 +0100)
modules/debian_org/templates/dsa-puppet-stuff.cron.erb

index 9d339c5..71fe19f 100644 (file)
@@ -17,5 +17,5 @@
 
 # Nagios related entries
 @hourly root [ -x /usr/sbin/dsa-update-apt-status ] && sleep $(( $RANDOM \% 1800 )) && /usr/sbin/dsa-update-apt-status 2>&1 | logger -t dsa-update-apt-status
-13 */4 * * * root [ -x /usr/sbin/dsa-update-samhain-status ] && sleep $(( $RANDOM \% 10800 )) && /usr/sbin/dsa-update-samhain-status
+13 */8 * * * root [ -x /usr/sbin/dsa-update-samhain-status ] && sleep $(( $RANDOM \% 27000 )) && /usr/sbin/dsa-update-samhain-status
 40 12 25 * *   root [ -x /usr/sbin/dsa-update-unowned-file-status ] && sleep $(( $RANDOM \% 86400 )) && /usr/sbin/dsa-update-unowned-file-status