diff --git a/munin/scripts/hosts_plugins.py b/munin/scripts/hosts_plugins.py index b7fe1733..71e93967 100755 --- a/munin/scripts/hosts_plugins.py +++ b/munin/scripts/hosts_plugins.py @@ -102,6 +102,11 @@ hosts_plugins = { } } +# Plugins Cr@ns systématiquement rajoutés +general_plugins = { + "check_ntp": "check_ntp", +} + #### # Trucs spécifiques à munin.crans.org # Onduleur diff --git a/munin/scripts/link_plugins.py b/munin/scripts/link_plugins.py index 91953953..bc719d84 100755 --- a/munin/scripts/link_plugins.py +++ b/munin/scripts/link_plugins.py @@ -20,7 +20,7 @@ import subprocess import sys import tempfile -from hosts_plugins import hosts_plugins +from hosts_plugins import hosts_plugins, general_plugins # Plugins munin classiques à ignorer IGNORE_PLUGINS = ( @@ -115,6 +115,7 @@ def get_all_plugins(): result = get_munin_plugins() custom_plugins = hosts_plugins.get(hostname, {}) + custom_plugins.update(general_plugins) for plugin, dest_file in custom_plugins.iteritems(): if dest_file.startswith('/'):