munin: switchs en fqdn
This commit is contained in:
parent
0907ab98d3
commit
eac34dfc55
1 changed files with 0 additions and 3 deletions
|
@ -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_"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue