mirror of
https://github.com/Tafkas/fritzbox-munin.git
synced 2023-10-10 13:36:55 +02:00
use custom ip address
This commit is contained in:
parent
d162f8bf83
commit
60fc6e7db1
@ -21,7 +21,7 @@ from fritzconnection import FritzConnection
|
|||||||
|
|
||||||
def print_values():
|
def print_values():
|
||||||
try:
|
try:
|
||||||
conn = FritzConnection()
|
conn = FritzConnection(address=os.environ['fritzbox_ip'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
sys.exit("Couldn't get WAN traffic")
|
sys.exit("Couldn't get WAN traffic")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user