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:
parent
2a1185612e
commit
ea8badd3a4
@ -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'
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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}"
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user