diff --git a/munin/scripts/hosts_plugins.py b/munin/scripts/hosts_plugins.py index 619e7856..60a2da7c 100755 --- a/munin/scripts/hosts_plugins.py +++ b/munin/scripts/hosts_plugins.py @@ -19,10 +19,10 @@ __all__ = ["hosts_plugins", "munin_fw", "cron_plugins", "hosts_crons"] cron_plugins = { # plugin: (utilisateur, commande), # %s est remplacé par le lien dans /etc/munin/plugins - "audimat": ("munin", "nice -n 14 %s generate 2> /dev/null"), - "batiments": ("munin", "nice -n 14 %s fichier 2> /dev/null"), - "stats-ip_": ("munin", "nice -n 14 %s fichier 2> /dev/null"), - "stats-ip": ("munin", "nice -n 14 %s fichier 2> /dev/null"), + "audimat": ("root", "nice -n 14 %s generate 2> /dev/null"), + "batiments": ("root", "nice -n 14 %s fichier 2> /dev/null"), + "stats-ip_": ("root", "nice -n 14 %s fichier 2> /dev/null"), + "stats-ip": ("root", "nice -n 14 %s fichier 2> /dev/null"), "wiki_pages": ("www-data", "%s fichier 2> /dev/null"), }