munin.conf: deharcode dyson pour stats bornes
This commit is contained in:
parent
187ab0e639
commit
45ec5d3c65
1 changed files with 5 additions and 4 deletions
|
@ -61,7 +61,7 @@ for host in switchs:
|
||||||
|
|
||||||
print """
|
print """
|
||||||
#============================== Les bornes wifi ============================
|
#============================== Les bornes wifi ============================
|
||||||
#On emprunte des données venant du graphe multistacké wifi_clients (sur gordon)
|
#On emprunte des données venant du graphe multistacké wifi_clients
|
||||||
# """
|
# """
|
||||||
|
|
||||||
for ap in ldap_conn.search(u'objectClass=borneWifi'):
|
for ap in ldap_conn.search(u'objectClass=borneWifi'):
|
||||||
|
@ -84,22 +84,23 @@ for ap in ldap_conn.search(u'objectClass=borneWifi'):
|
||||||
wifi_clients.update no
|
wifi_clients.update no
|
||||||
wifi_clients.graph_category wifi
|
wifi_clients.graph_category wifi
|
||||||
wifi_clients.graph_order \\
|
wifi_clients.graph_order \\
|
||||||
clients=crans.org;dyson.crans.org:wifi_clients.%(profile)s
|
clients=crans.org;%(master)s:wifi_clients.%(profile)s
|
||||||
|
|
||||||
wifi_uptime.graph_title Uptime
|
wifi_uptime.graph_title Uptime
|
||||||
wifi_uptime.update no
|
wifi_uptime.update no
|
||||||
wifi_uptime.graph_category wifi
|
wifi_uptime.graph_category wifi
|
||||||
wifi_uptime.graph_order \\
|
wifi_uptime.graph_order \\
|
||||||
uptime=crans.org;dyson.crans.org:wifi_uptime.%(profile)s
|
uptime=crans.org;%(master)s:wifi_uptime.%(profile)s
|
||||||
|
|
||||||
wifi_idle.graph_title Mean idle time
|
wifi_idle.graph_title Mean idle time
|
||||||
wifi_idle.update no
|
wifi_idle.update no
|
||||||
wifi_idle.graph_category wifi
|
wifi_idle.graph_category wifi
|
||||||
wifi_idle.graph_order \\
|
wifi_idle.graph_order \\
|
||||||
idle=crans.org;dyson.crans.org:wifi_idle.%(profile)s
|
idle=crans.org;%(master)s:wifi_idle.%(profile)s
|
||||||
|
|
||||||
""" % { 'hostname': fqdn,
|
""" % { 'hostname': fqdn,
|
||||||
'profile': profile,
|
'profile': profile,
|
||||||
|
'master': metadata.profile + '.crans.org',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue