munin: remplit munin-crans via hosts_plugins
This commit is contained in:
parent
4def35f70c
commit
decf5bd0e0
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ info["group"] = "root"
|
||||||
|
|
||||||
import hosts_plugins as h_p
|
import hosts_plugins as h_p
|
||||||
|
|
||||||
cron_lines = h_p.hosts_crons.get(hostname,None)
|
cron_lines = []
|
||||||
|
for group in metadata.groups:
|
||||||
|
cron_lines += h_p.hosts_crons.get(group, [])
|
||||||
|
|
||||||
header("""Commandes cron pour les plugins munin custom Cr@ns""")
|
header("""Commandes cron pour les plugins munin custom Cr@ns""")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue