1
0
mirror of https://github.com/Tafkas/fritzbox-munin.git synced 2023-10-10 11:36:55 +00:00

add static hostname to output

This commit is contained in:
Christoph Wempe 2017-03-02 00:22:56 +01:00
parent 2a1185612e
commit ea8badd3a4
8 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,7 @@ def print_values():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box Connection Uptime"
print "graph_args --base 1000 -l 0"
print 'graph_vlabel uptime in days'

View File

@ -40,6 +40,7 @@ def get_cpu_temperature():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box CPU temperature"
print "graph_vlabel degrees Celsius"
print "graph_category sensors"

View File

@ -40,6 +40,7 @@ def get_cpu_usage():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box CPU usage"
print "graph_vlabel %"
print "graph_category system"

View File

@ -42,6 +42,7 @@ def get_memory_usage():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box Memory"
print "graph_vlabel %"
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100"

View File

@ -42,6 +42,7 @@ def get_power_consumption():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box Power Consumption"
print "graph_vlabel %"
print "graph_category network"

View File

@ -42,6 +42,7 @@ def print_values():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box WAN traffic"
print "graph_args --base 1000"
print "graph_vlabel bits in (-) / out (+) per \${graph_period}"

View File

@ -48,6 +48,7 @@ def get_uptime():
def print_config():
print "host_name fritzbox"
print "graph_title AVM Fritz!Box Uptime"
print "graph_args --base 1000 -l 0"
print 'graph_vlabel uptime in days'

View File

@ -40,6 +40,7 @@ def get_connected_wifi_devices():
def print_config():
print "host_name fritzbox"
print 'graph_title AVM Fritz!Box Connected Wifi Devices'
print 'graph_vlabel Number of devices'
print 'graph_args --base 1000'