[hosts_plugins.py] les cron qui touchent à la base ldap sont lancés en root

darcs-hash:20090415201253-ffbb2-fbbac866e82edda0960b294f32f0fc32b9132830.gz
This commit is contained in:
Nicolas Dandrimont 2009-04-15 22:12:53 +02:00
parent ea5afe318d
commit 081c1c588d

View file

@ -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"),
}