diff options
Diffstat (limited to 'files/etc')
-rw-r--r-- | files/etc/cron.d/munin | 9 |
1 files changed, 9 insertions, 0 deletions
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 |