Revert "Configuration du backbone et de bato1 en snmp"
This reverts commit 73ab4ff3fe
.
This commit is contained in:
parent
886a4ddb89
commit
43cbff511e
1 changed files with 1 additions and 12 deletions
|
@ -49,22 +49,11 @@ 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=["backbone.adm.crans.org","bato-1.adm.crans.org"]) ]
|
switchs = [ x[:x.rindex('.crans.org')] for x in annuaires_pg.all_switchs(hide=[]) ]
|
||||||
for host in switchs:
|
for host in switchs:
|
||||||
out('[switchs.crans.org;%s]' % (host,))
|
out('[switchs.crans.org;%s]' % (host,))
|
||||||
out(' address localhost\n')
|
out(' address localhost\n')
|
||||||
|
|
||||||
out("""#============================ Switchs en snmp ========================
|
|
||||||
# On configure certains switchs pour etre contactés en snmp, et récupérer les données
|
|
||||||
[switchs.crans.org;backbone.adm.crans.org]
|
|
||||||
address localhost
|
|
||||||
use_node_name no
|
|
||||||
|
|
||||||
[switchs.crans.org;bato-1.adm.crans.org]
|
|
||||||
address localhost
|
|
||||||
use_node_name no
|
|
||||||
""")
|
|
||||||
|
|
||||||
|
|
||||||
out("""
|
out("""
|
||||||
#============================== Les bornes wifi ============================
|
#============================== Les bornes wifi ============================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue