]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Split munin-update and munin-graph on different cronjobs (2)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Mar 2014 15:34:18 +0000 (12:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Mar 2014 15:34:18 +0000 (12:34 -0300)
files/etc/cron.d/munin

index 6b44a4093c6d1137f0dccb0d6dc257d73cb1fc32..a56501a0e9a1c072c5dd1f400a32cc421adf7090 100644 (file)
@@ -5,5 +5,5 @@
 MAILTO=""
 
 @reboot         root  if [ ! -d /var/run/munin ]; then /bin/bash -c 'perms=(`/usr/sbin/dpkg-statoverride --list /var/run/munin`); mkdir /var/run/munin; chown ${perms[0]:-munin}:${perms[1]:-root} /var/run/munin; chmod ${perms[2]:-0755} /var/run/munin'; fi
-*/5 * * * *     munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron &> /dev/null; fi
+*/5 * * * *     munin if [ -x /usr/loca/bin/munin-cron ]; then /usr/local/bin/munin-cron &> /dev/null; fi
 14 10 * * *     munin if [ -x /usr/share/munin/munin-limits ]; then /usr/share/munin/munin-limits --force --contact nagios --contact old-nagios; fi