From 203d78afbbd88f25d7caa3a85bbdb2bd5a12c294 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Fri, 25 Jan 2013 04:12:12 +0100 Subject: [PATCH] [munin] monitoring du temps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: 51119867ce3ba5b95f103b1ca855ac5b On met un plugin qui mesure la dérivée du temps, tel que vu par le client, grossièrement. L'intérêt est de voir le drift des serveurs et en particulier des domU (ntp marche moyen dessus, on veut voir à quel point). darcs-hash:20130125031212-28565-5b472c789107580f74612eac7efc39aa31516f7b.gz --- munin/scripts/hosts_plugins.py | 5 +++++ munin/scripts/link_plugins.py | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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('/'):