feat: add homelab deployment configs, documentation, and automation scripts
This commit is contained in:
15
scripts/check_grafana_dashboards_live.py
Normal file
15
scripts/check_grafana_dashboards_live.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import requests
|
||||
import json
|
||||
import urllib3
|
||||
urllib3.disable_warnings()
|
||||
|
||||
auth = ("admin", "Katzir476!!!")
|
||||
url = "https://grafana.snarfnet.net/api/search"
|
||||
|
||||
resp = requests.get(url, auth=auth, verify=False, timeout=10)
|
||||
print("Status:", resp.status_code)
|
||||
dashboards = resp.json()
|
||||
print(f"Total Dashboards Found: {len(dashboards)}")
|
||||
for d in dashboards:
|
||||
print(f" - [{d.get('type')}] Title: {d.get('title')} | UID: {d.get('uid')} | URL: {d.get('url')}")
|
||||
|
||||
Reference in New Issue
Block a user