mirror of
https://github.com/Tafkas/fritzbox-munin.git
synced 2023-10-10 13:36:55 +02:00
default to python3
This commit is contained in:
parent
f35f0bb2f4
commit
62b36cfd98
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_connection_uptime - A munin plugin for Linux to monitor AVM Fritzbox connection uptime
|
fritzbox_connection_uptime - A munin plugin for Linux to monitor AVM Fritzbox connection uptime
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_cpu_temperature - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_cpu_temperature - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_cpu_usage - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_cpu_usage - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_helper - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_helper - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
@ -49,7 +49,7 @@ def get_session_id(server, username, password, port=80):
|
|||||||
try:
|
try:
|
||||||
state = get_login_state(box_url)
|
state = get_login_state(box_url)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
raise Exception("failed to get challenge") from ex
|
raise Exception("failed to get challenge")
|
||||||
if state.is_pbkdf2:
|
if state.is_pbkdf2:
|
||||||
# print("PBKDF2 supported")
|
# print("PBKDF2 supported")
|
||||||
challenge_response = calculate_pbkdf2_response(state.challenge, password)
|
challenge_response = calculate_pbkdf2_response(state.challenge, password)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_memory_usage - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_memory_usage - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# coding=utf-8
|
# coding=utf-8
|
||||||
"""
|
"""
|
||||||
fritzbox_power_consumption - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_power_consumption - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_traffic - A munin plugin for Linux to monitor AVM Fritzbox WAN traffic
|
fritzbox_traffic - A munin plugin for Linux to monitor AVM Fritzbox WAN traffic
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_uptime - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_uptime - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
fritzbox_wifi_devices - A munin plugin for Linux to monitor AVM Fritzbox
|
fritzbox_wifi_devices - A munin plugin for Linux to monitor AVM Fritzbox
|
||||||
Copyright (C) 2015 Christian Stade-Schuldt
|
Copyright (C) 2015 Christian Stade-Schuldt
|
||||||
|
Loading…
Reference in New Issue
Block a user