diff --git a/munin/scripts/hosts_plugins.py b/munin/scripts/hosts_plugins.py index bc9b324d..f557f6a9 100755 --- a/munin/scripts/hosts_plugins.py +++ b/munin/scripts/hosts_plugins.py @@ -164,9 +164,6 @@ for bat in annuaires.bat_switchs: # Ping de tous les switches de bâtiments for switch in annuaires.all_switchs(hide=[]): - # Suppression du .crans.org pour plus de clarté dans les confs - # (tous les switchs n'étant pas sur adm, on garde quand-même ce suffixe) - switch = switch[:switch.rindex('.crans.org')] switch = switch.replace('-', '_') hosts_plugins["munin-server"]["ping_%s" % switch] = "ping_bat_"