diff --git a/munin/scripts/hosts_plugins.py b/munin/scripts/hosts_plugins.py index 492cff62..a6080429 100755 --- a/munin/scripts/hosts_plugins.py +++ b/munin/scripts/hosts_plugins.py @@ -83,7 +83,7 @@ hosts_plugins = { "wiki_themes": "wiki_themes", "wiki_users": "wiki_users", }, - "munin": { + "dyson": { "audimat": "audimat", "batiments": "batiments", "munin": "munin", @@ -102,27 +102,27 @@ hosts_plugins = { # Trucs spécifiques à munin.crans.org # Onduleur for mge_truc in ["batt", "hygro", "intensite", "temp", "temps", "tension"]: - hosts_plugins["munin"]["mge_%s" % mge_truc] = "mge_%s" % mge_truc + hosts_plugins["dyson"]["mge_%s" % mge_truc] = "mge_%s" % mge_truc # Stats d'utilisation des réseaux for net in config.NETs: - hosts_plugins["munin"]["stats-ip_%s" % net] = "stats-ip_" + hosts_plugins["dyson"]["stats-ip_%s" % net] = "stats-ip_" # Stats de peuplement des bâtiments for bat in annuaires.bat_switchs: if bat not in ('v',): - hosts_plugins["munin"]["stats-batiment_%s" % bat] = "stats-batiment_" + hosts_plugins["dyson"]["stats-batiment_%s" % bat] = "stats-batiment_" # Ping de tous les switches de bâtiments for switch in annuaires.all_switchs(): # Suppression du .adm.crans.org switch = switch[:switch.index('.')] switch = switch.replace('-', '_') - hosts_plugins["munin"]["ping_%s.adm" % switch] = "ping_bat_" + hosts_plugins["dyson"]["ping_%s.adm" % switch] = "ping_bat_" # Et les vigiles... for lieu in ["0a", "0b", "2b", "0c", "0g", "2g", "4g", "0h", "-1i", "0j", "4j", "0m"]: - hosts_plugins["munin"]["vigile_vigile_%s.adm.crans.org" % lieu.replace('-','_')] = "/usr/scripts/surveillance/vigile" + hosts_plugins["dyson"]["vigile_vigile_%s.adm.crans.org" % lieu.replace('-','_')] = "/usr/scripts/surveillance/vigile" # On rajoute les stats de connexion for host in hosts_plugins.keys():