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 ================================
|
#============================== Les switchs ================================
|
||||||
#Il ne s'agit pas de clients bcfg2 et ne sont par ailleurs pas des nœuds munin
|
#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 annuaires_pg.all_switchs(hide=[]):
|
||||||
for host in switchs:
|
|
||||||
out('[switchs.crans.org;%s]' % (host,))
|
out('[switchs.crans.org;%s]' % (host,))
|
||||||
out(' address localhost\n')
|
out(' address localhost')
|
||||||
|
|
||||||
|
|
||||||
out("""
|
out("""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue