feat: add cluster auditing, management, and upgrade scripts
This commit is contained in:
19
scripts/check_all_endpoints.py
Normal file
19
scripts/check_all_endpoints.py
Normal file
@@ -0,0 +1,19 @@
|
||||
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})")
|
||||
|
||||
Reference in New Issue
Block a user