Configuration du backbone et de bato1 en snmp
This commit is contained in:
parent
b6f201f9b7
commit
73ab4ff3fe
1 changed files with 12 additions and 1 deletions
|
@ -49,11 +49,22 @@ 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=[]) ]
|
||||
switchs = [ x[:x.rindex('.crans.org')] for x in annuaires_pg.all_switchs(hide=["backbone.adm.crans.org","bato-1.adm.crans.org"]) ]
|
||||
for host in switchs:
|
||||
out('[switchs.crans.org;%s]' % (host,))
|
||||
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("""
|
||||
#============================== Les bornes wifi ============================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue