import subprocess endpoints = [ ("Argo CD", "https://argo.snarfnet.net"), ("Rancher Manager", "https://aerodrome.snarfnet.net"), ("AWX Console", "https://awx.snarfnet.net"), ("Authentik SSO", "https://authentik.snarfnet.net"), ("Uptime Kuma", "https://uptime.snarfnet.net/dashboard"), ("Gitea GitOps", "http://140.44.4.51:90"), ("Zabbix Server", "http://140.44.4.51:8888"), ("Portainer Server", "https://140.44.4.71:9443") ] print("=== ENDPOINT HEALTH CHECK ===") for name, url in endpoints: res = subprocess.run(f"curl.exe -k -s -o nul -w '%{{http_code}}' {url}", capture_output=True, text=True, shell=True) code = res.stdout.strip() print(f"[{code}] {name} ({url})")