feat: add various infrastructure check and automation scripts

This commit is contained in:
2026-11-15 17:17:41 -05:00
parent 336b7759d0
commit b301aa3ece
232 changed files with 8274 additions and 298 deletions

View File

@@ -0,0 +1,16 @@
import json
with open("homelab-gitops-repo/dashboards/grafana/systems-dashboard.json") as f:
sys_dash = json.load(f)
with open("homelab-gitops-repo/dashboards/grafana/container-metrics-dashboard.json") as f:
cnt_dash = json.load(f)
print("Systems panels summary:")
for p in sys_dash.get("panels", []):
print(f"ID {p.get('id')} | Type: {p.get('type')} | Title: {p.get('title')} | Grid: {p.get('gridPos')}")
print("\nContainers panels summary:")
for p in cnt_dash.get("panels", []):
print(f"ID {p.get('id')} | Type: {p.get('type')} | Title: {p.get('title')} | Grid: {p.get('gridPos')}")