From 7beae39bc53042b9fbf214653d390c988a03ad1b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 12 Mar 2014 12:31:25 -0300 Subject: Split munin-update and munin-graph on different cronjobs --- files/etc/cron.d/munin | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 files/etc/cron.d/munin (limited to 'files/etc/cron.d') diff --git a/files/etc/cron.d/munin b/files/etc/cron.d/munin new file mode 100644 index 0000000..6b44a40 --- /dev/null +++ b/files/etc/cron.d/munin @@ -0,0 +1,9 @@ +# +# cron-jobs for munin +# + +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 +14 10 * * * munin if [ -x /usr/share/munin/munin-limits ]; then /usr/share/munin/munin-limits --force --contact nagios --contact old-nagios; fi -- cgit v1.2.3