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
59fba1f701
commit
d162f8bf83
@ -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 connection uptime")
|
sys.exit("Couldn't get connection uptime")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user