munin: switchs en fqdn
This commit is contained in:
parent
43cbff511e
commit
ad72f36baa
1 changed files with 2 additions and 3 deletions
|
@ -49,10 +49,9 @@ munin_cgi_graph_jobs 6
|
|||
#============================== Les switchs ================================
|
||||
#Il ne s'agit pas de clients bcfg2 et ne sont par ailleurs pas des nœuds munin
|
||||
""")
|
||||
switchs = [ x[:x.rindex('.crans.org')] for x in annuaires_pg.all_switchs(hide=[]) ]
|
||||
for host in switchs:
|
||||
for host in annuaires_pg.all_switchs(hide=[]):
|
||||
out('[switchs.crans.org;%s]' % (host,))
|
||||
out(' address localhost\n')
|
||||
out(' address localhost')
|
||||
|
||||
|
||||
out("""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue