Package: munin-node
Version: 1.2.3-1
Severity: minor
Tags: patch

Hi. /etc/cron.d/munin-node only does stuff with the "apt" plugin.
"apt_all" is similar, but better. It should get the automagic
cron treatment, too. Here's a patch that adds support for that, too.
--- munin-node.orig	2005-04-03 03:54:15.000000000 +0300
+++ munin-node	2005-07-07 14:35:11.000000000 +0300
@@ -8,5 +8,5 @@
 # an hour (12 invokations an hour, 1 in 12 chance that the update will
 # happen), but ensure that there will never be more than two hour (7200
 # seconds) interval between updates..
-*/5 * * * *	root [ -x /etc/munin/plugins/apt ] && /etc/munin/plugins/apt update 7200 12 >/dev/null
+*/5 * * * *	root if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi
 

Reply via email to