change dist for living room

This commit is contained in:
2023-07-27 10:13:46 +02:00
parent c71d5e02fe
commit 1e19ace9a9

View File

@@ -100,6 +100,10 @@ def check_router():
status, output = subprocess.getstatusoutput(cmnd)
writeLog("Openvpn2 Status : " + str(output))
stats["vpnclient2"] = output
cmnd = "nvram get vpn_server1_state"
status, output = subprocess.getstatusoutput(cmnd)
writeLog("Openvpn2 Status : " + str(output))
stats["vpnserver1"] = output
cmnd = "ncat -z 192.168.77.106 25"
status, output = subprocess.getstatusoutput(cmnd)
if status == 0:
@@ -1012,6 +1016,7 @@ if curos == "Windows":
print(swap_data)
print("MEM : {}".format(mem_data.percent))
print(psutil.getloadavg())
#lodctr /R
try:
print(psutil.sensors_temperatures())
except: