feat: add automation scripts for NAS fixes, Authentik monitoring, and Technitium DNS management

This commit is contained in:
2026-11-06 18:49:24 -05:00
parent 1965d37687
commit 8e1c5f1e66
22 changed files with 675 additions and 17 deletions

21
scripts/check_p13.py Normal file
View File

@@ -0,0 +1,21 @@
import urllib.request
import ssl
import json
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
token = "SnarfNetPermanentAutomationToken2026"
headers = {
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
}
req = urllib.request.Request("https://authentik.snarfnet.net/api/v3/providers/proxy/13/", headers=headers)
try:
with urllib.request.urlopen(req, context=ctx) as resp:
print("Provider 13:", json.loads(resp.read().decode())['name'])
except Exception as e:
print("Provider 13:", e)