Show cluster health in the Technitium DNS integration

Reads /api/admin/cluster/state (Technitium 14+): a Cluster table on the page,
alerts for a node unreachable for ten minutes (primary critical) and for a
secondary that has stopped taking the primary's configuration, and three
/metrics series. A server in no cluster shows nothing; a token that may not
view administration is told so and the rest of the read is unaffected.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-08 23:37:11 +01:00
1 parent 1ef686d1ba
commit d78aba8bf9
15 files changed
+9423 -15

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE `technitium_state` ADD `cluster` text;
File diff suppressed because it is too large. Load diff
+7
View File
@@ -610,6 +610,13 @@
"when": 1794155585495,
"tag": "0086_talented_starfox",
"breakpoints": true
},
{
"idx": 87,
"version": "6",
"when": 1794176955959,
"tag": "0087_majestic_praxagora",
"breakpoints": true
}
]
}