Add a Technitium DNS Server integration for its statistics and health
A new integration type (Network, next to AdGuard Home) reads Technitium's API every two minutes with a non-expiring API token in the Authorization header: version and uptime, whether blocking is on, block lists and their next update, the last day's queries and how they ended, cache and zone counts, the top clients and names, zone health (expired or unsynced secondary zones), DHCP leases — and puts one real DNS question to it over UDP. A Technitium page shows it; alerts: DNS not answering (critical), blocking left off, block lists overdue, zones expired or not syncing; /metrics gets homelab_technitium_*. Nothing is changed on the server. Technitium's API has no CPU, memory or disk figures; the page says a server agent covers that. New table technitium_state (migration 0081). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e4cd01e9ba
commit
312093d3f7
24 files changed
+10189
-7
No files matched your search
@@ -23,6 +23,7 @@ import Hetzner from "./pages/Hetzner";
|
||||
import GameServers from "./pages/GameServers";
|
||||
import Media from "./pages/Media";
|
||||
import AdguardHome from "./pages/AdguardHome";
|
||||
import TechnitiumDns from "./pages/TechnitiumDns";
|
||||
import Grafana from "./pages/Grafana";
|
||||
import Speedtest from "./pages/Speedtest";
|
||||
import Costs from "./pages/Costs";
|
||||
@@ -187,6 +188,7 @@ function Shelled({ user }: { user: CurrentUser }) {
|
||||
<Route path="/media" element={<Media />} />
|
||||
<Route path="/versions" element={<Versions user={user} />} />
|
||||
<Route path="/adguard" element={<AdguardHome />} />
|
||||
<Route path="/technitium" element={<TechnitiumDns />} />
|
||||
<Route path="/grafana" element={<Grafana />} />
|
||||
<Route path="/speedtest" element={<Speedtest />} />
|
||||
<Route path="/costs" element={<Costs user={user} />} />
|
||||
|
||||
+59
-1
@@ -1519,6 +1519,61 @@ export interface AdguardInstance {
|
||||
problems: { key: string; message: string; severity: "warning" | "critical" }[];
|
||||
}
|
||||
|
||||
/** One Technitium DNS Server (an integration of type technitium), as its page shows it. */
|
||||
export interface TechnitiumInstance {
|
||||
id: number;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
url: string;
|
||||
status: { at: string; ok: boolean; error: string | null } | null;
|
||||
fresh: boolean;
|
||||
state: {
|
||||
version: string | null;
|
||||
/** When the DNS server last started. */
|
||||
startedAt: string | null;
|
||||
dnsPort: number;
|
||||
blockingEnabled: boolean;
|
||||
blockingOffSince: string | null;
|
||||
settings: { blockLists: { count: number; intervalHours: number | null; nextUpdate: string | null }; cacheMaximumEntries: number | null; recursion: string | null; dnssecValidation: boolean | null };
|
||||
/** The last day. */
|
||||
stats: {
|
||||
period: string;
|
||||
queries: number;
|
||||
noError: number;
|
||||
serverFailure: number;
|
||||
nxDomain: number;
|
||||
refused: number;
|
||||
authoritative: number;
|
||||
recursive: number;
|
||||
cached: number;
|
||||
blocked: number;
|
||||
dropped: number;
|
||||
clients: number;
|
||||
zones: number | null;
|
||||
cachedEntries: number | null;
|
||||
allowedZones: number | null;
|
||||
blockedZones: number | null;
|
||||
allowListZones: number | null;
|
||||
blockListZones: number | null;
|
||||
blockedPercent: number | null;
|
||||
cachedPercent: number | null;
|
||||
failurePercent: number | null;
|
||||
topClients: { name: string; count: number }[];
|
||||
topDomains: { name: string; count: number }[];
|
||||
topBlocked: { name: string; count: number }[];
|
||||
} | null;
|
||||
zones: { total: number; disabled: number; issues: { name: string; problem: "expired" | "sync failed" }[] } | null;
|
||||
dhcp: { scopes: number; enabledScopes: number; leases: number } | null;
|
||||
/** The real DNS question put to it. */
|
||||
probe: { ok: boolean; ms: number | null; error: string | null; name: string; host: string } | null;
|
||||
probeFailSince: string | null;
|
||||
updatedAt: string;
|
||||
/** How long ago the block lists were due for an update, when that is overdue; null otherwise. */
|
||||
blockListsOverdueMs: number | null;
|
||||
} | null;
|
||||
problems: { key: string; message: string; severity: "warning" | "critical" }[];
|
||||
}
|
||||
|
||||
/** One Grafana (an integration of type grafana), as its page shows it. */
|
||||
export interface GrafanaInstance {
|
||||
id: number;
|
||||
@@ -2800,7 +2855,7 @@ export interface ManualTaskInput {
|
||||
enabled?: boolean;
|
||||
}
|
||||
|
||||
export type IntegrationType = "proxmox" | "synology" | "semaphore" | "tailscale" | "gitea" | "dockhand" | "uptimekuma" | "phpipam" | "pbs" | "osticket" | "unifi" | "npm" | "homeassistant" | "ups" | "jellyfin" | "authentik" | "prometheus" | "immich" | "paperless" | "nextcloud" | "netbox" | "n8n" | "hetzner" | "speedtest" | "fragnet" | "sonarr" | "radarr" | "prowlarr" | "adguard" | "grafana" | "lidarr" | "readarr";
|
||||
export type IntegrationType = "proxmox" | "synology" | "semaphore" | "tailscale" | "gitea" | "dockhand" | "uptimekuma" | "phpipam" | "pbs" | "osticket" | "unifi" | "npm" | "homeassistant" | "ups" | "jellyfin" | "authentik" | "prometheus" | "immich" | "paperless" | "nextcloud" | "netbox" | "n8n" | "hetzner" | "speedtest" | "fragnet" | "sonarr" | "radarr" | "prowlarr" | "adguard" | "technitium" | "grafana" | "lidarr" | "readarr";
|
||||
|
||||
export interface IntegrationField {
|
||||
key: string;
|
||||
@@ -3407,6 +3462,9 @@ export const api = {
|
||||
save: (data: { enabled: boolean; alertAfterDays: number }) => request<AppVersions>("/api/versions/settings", { method: "PUT", body: JSON.stringify(data) }),
|
||||
refresh: () => request<AppVersions & { result: { checked: number; failed: number } }>("/api/versions/refresh", { method: "POST" }),
|
||||
},
|
||||
technitium: {
|
||||
list: () => request<{ instances: TechnitiumInstance[] }>("/api/technitium"),
|
||||
},
|
||||
adguard: {
|
||||
list: () => request<{ instances: AdguardInstance[] }>("/api/adguard"),
|
||||
},
|
||||
|
||||
@@ -35,6 +35,7 @@ const TYPE_LABELS: Record<string, string> = {
|
||||
radarr: "Radarr",
|
||||
prowlarr: "Prowlarr",
|
||||
adguard: "AdGuard Home",
|
||||
technitium: "Technitium DNS",
|
||||
grafana: "Grafana",
|
||||
lidarr: "Lidarr",
|
||||
readarr: "Readarr",
|
||||
|
||||
@@ -49,6 +49,7 @@ import {
|
||||
IconGitCommit,
|
||||
IconShieldCheck,
|
||||
IconShieldLock,
|
||||
IconWorldWww,
|
||||
IconVersions,
|
||||
IconChartAreaLine,
|
||||
IconActivityHeartbeat,
|
||||
@@ -137,6 +138,7 @@ export const NAV: NavEntry[] = [
|
||||
items: [
|
||||
{ to: "/dns", label: "DNS", icon: <IconWorld size={20} /> },
|
||||
{ to: "/adguard", label: "AdGuard Home", icon: <IconShieldLock size={20} /> },
|
||||
{ to: "/technitium", label: "Technitium DNS", icon: <IconWorldWww size={20} /> },
|
||||
{ to: "/network/devices", label: "Network devices", icon: <IconRouter size={20} /> },
|
||||
{ to: "/proxy-hosts", label: "Proxy hosts", icon: <IconArrowsSplit2 size={20} /> },
|
||||
{ to: "/ipam", label: "IP Addresses", icon: <IconNetwork size={20} /> },
|
||||
|
||||
@@ -0,0 +1,261 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import { api, type TechnitiumInstance } from "../api/client";
|
||||
import EmptyState from "../components/EmptyState";
|
||||
import TimeAgo from "../components/TimeAgo";
|
||||
import { BlockSkeleton } from "../components/Skeleton";
|
||||
import { ErrorNotice } from "../components/Notice";
|
||||
import { formatAgo } from "../utils/duration";
|
||||
import { readableError } from "../utils/errors";
|
||||
|
||||
function Badge({ a }: { a: TechnitiumInstance }) {
|
||||
if (!a.enabled) return <span className="badge bg-secondary-lt text-secondary">Off</span>;
|
||||
if (!a.state) return <span className="badge bg-secondary-lt text-secondary">Not read yet</span>;
|
||||
if (!a.fresh) return <span className="badge bg-yellow-lt text-yellow">Can’t be read</span>;
|
||||
if (a.problems.some((x) => x.severity === "critical")) return <span className="badge bg-red-lt text-red">Needs a look</span>;
|
||||
if (a.problems.length > 0) return <span className="badge bg-yellow-lt text-yellow">Needs a look</span>;
|
||||
return <span className="badge bg-green-lt text-green">In order</span>;
|
||||
}
|
||||
|
||||
function Tile({ label, value, sub, tone }: { label: string; value: string; sub?: string | null; tone?: "bad" | "warn" }) {
|
||||
return (
|
||||
<div className="col-6 col-lg-3">
|
||||
<div className="card card-sm h-100">
|
||||
<div className="card-body">
|
||||
<div className="text-secondary small">{label}</div>
|
||||
<div className={`h2 mb-0 ${tone === "bad" ? "text-red" : tone === "warn" ? "text-yellow" : ""}`}>{value}</div>
|
||||
{sub && <div className="text-secondary small">{sub}</div>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function Counted({ title, items, empty }: { title: string; items: { name: string; count: number }[]; empty: string }) {
|
||||
const top = items[0]?.count ?? 0;
|
||||
return (
|
||||
<div className="col-lg-4">
|
||||
<h4>{title}</h4>
|
||||
{items.length === 0 && <div className="text-secondary small">{empty}</div>}
|
||||
{items.slice(0, 7).map((i) => (
|
||||
<div key={i.name} className="mb-1">
|
||||
<div className="d-flex small">
|
||||
<span className="text-break">{i.name}</span>
|
||||
<span className="ms-auto text-secondary ps-2">{i.count.toLocaleString()}</span>
|
||||
</div>
|
||||
<div className="progress progress-sm">
|
||||
<div className="progress-bar" style={{ width: `${top > 0 ? Math.max(2, (i.count / top) * 100) : 0}%` }} />
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
/** "12 d 3 h", "5 h 20 min", "40 min": how long since a moment. */
|
||||
function upFor(startedAt: string, now: number = Date.now()): string {
|
||||
const minutes = Math.max(0, Math.floor((now - Date.parse(startedAt)) / 60_000));
|
||||
if (minutes < 60) return `${minutes} min`;
|
||||
const hours = Math.floor(minutes / 60);
|
||||
if (hours < 24) return minutes % 60 ? `${hours} h ${minutes % 60} min` : `${hours} h`;
|
||||
const days = Math.floor(hours / 24);
|
||||
return hours % 24 ? `${days} d ${hours % 24} h` : `${days} d`;
|
||||
}
|
||||
|
||||
/** How the last day's queries were answered, as one bar: from the cache, resolved by the server, from its own zones, blocked, dropped. */
|
||||
const HOW: { key: "cached" | "recursive" | "authoritative" | "blocked" | "dropped"; label: string; className: string }[] = [
|
||||
{ key: "cached", label: "from the cache", className: "bg-blue" },
|
||||
{ key: "recursive", label: "resolved", className: "bg-azure" },
|
||||
{ key: "authoritative", label: "from its own zones", className: "bg-green" },
|
||||
{ key: "blocked", label: "blocked", className: "bg-orange" },
|
||||
{ key: "dropped", label: "dropped", className: "bg-red" },
|
||||
];
|
||||
|
||||
function Card({ a }: { a: TechnitiumInstance }) {
|
||||
const s = a.state;
|
||||
const st = s?.stats ?? null;
|
||||
const cacheMax = s?.settings.cacheMaximumEntries ?? null;
|
||||
const cacheFill = st && st.cachedEntries !== null && cacheMax !== null && cacheMax > 0 ? Math.min(100, Math.round((st.cachedEntries / cacheMax) * 100)) : null;
|
||||
return (
|
||||
<div className="card mb-3">
|
||||
<div className="card-header">
|
||||
<h3 className="card-title">
|
||||
{a.name} <span className="text-secondary fw-normal">{s?.version ? `v${s.version}` : ""}</span> <Badge a={a} />
|
||||
</h3>
|
||||
<div className="card-actions text-secondary small">{a.status ? <>read <TimeAgo value={a.status.at} /></> : "not read yet"}</div>
|
||||
</div>
|
||||
<div className="card-body">
|
||||
{a.status && !a.status.ok && <div className="text-yellow mb-2">The last attempt to read it failed: {a.status.error ?? "no answer"}.</div>}
|
||||
{a.problems.length > 0 && (
|
||||
<ul className="mb-3">
|
||||
{a.problems.map((x) => (
|
||||
<li key={x.key} className={x.severity === "critical" ? "text-red" : ""}>
|
||||
{x.message}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
{s && (
|
||||
<>
|
||||
<div className="row g-3 mb-3">
|
||||
<Tile
|
||||
label="DNS answers"
|
||||
value={s.probe === null ? "—" : s.probe.ok ? `${s.probe.ms ?? "?"} ms` : "No"}
|
||||
sub={s.probe ? (s.probe.ok ? `a question about ${s.probe.name}, asked ${s.probe.host}:${s.dnsPort}` : `${s.probe.error ?? "no answer"} (${s.probe.host}:${s.dnsPort})`) : "no test yet"}
|
||||
tone={s.probe && !s.probe.ok ? "bad" : undefined}
|
||||
/>
|
||||
<Tile
|
||||
label="Blocking"
|
||||
value={s.blockingEnabled ? "On" : "Off"}
|
||||
sub={s.blockingEnabled ? (s.settings.blockLists.count === 0 ? "no block lists are set up" : null) : s.blockingOffSince ? `since ${formatAgo(s.blockingOffSince)}` : null}
|
||||
tone={!s.blockingEnabled && s.settings.blockLists.count > 0 ? "warn" : undefined}
|
||||
/>
|
||||
<Tile label="Queries, last day" value={st ? st.queries.toLocaleString() : "—"} sub={st ? `from ${st.clients.toLocaleString()} client${st.clients === 1 ? "" : "s"}` : "could not be read"} />
|
||||
<Tile label="Blocked" value={st ? st.blocked.toLocaleString() : "—"} sub={st ? (st.blockedPercent === null ? null : `${st.blockedPercent}% of the queries`) : "could not be read"} />
|
||||
<Tile label="From the cache" value={st ? (st.cachedPercent === null ? "—" : `${st.cachedPercent}%`) : "—"} sub={st ? `${st.cached.toLocaleString()} queries` : "could not be read"} />
|
||||
<Tile
|
||||
label="Failed"
|
||||
value={st ? (st.failurePercent === null ? "—" : `${st.failurePercent}%`) : "—"}
|
||||
sub={st ? `${st.serverFailure.toLocaleString()} server failures, ${st.refused.toLocaleString()} refused` : "could not be read"}
|
||||
tone={st && st.failurePercent !== null && st.queries >= 200 && st.failurePercent >= 20 ? "warn" : undefined}
|
||||
/>
|
||||
<Tile label="Running for" value={s.startedAt ? upFor(s.startedAt) : "—"} sub={s.startedAt ? `since ${new Date(s.startedAt).toLocaleString()}` : "it did not say"} />
|
||||
<Tile
|
||||
label="DNS cache"
|
||||
value={st && st.cachedEntries !== null ? st.cachedEntries.toLocaleString() : "—"}
|
||||
sub={cacheFill !== null ? `${cacheFill}% of ${cacheMax!.toLocaleString()} entries` : cacheMax !== null ? `up to ${cacheMax.toLocaleString()} entries` : null}
|
||||
tone={cacheFill !== null && cacheFill >= 95 ? "warn" : undefined}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{st && st.queries > 0 && (
|
||||
<div className="mb-3">
|
||||
<h4>How the queries were answered</h4>
|
||||
<div className="progress mb-1">
|
||||
{HOW.map((h) => (
|
||||
<div key={h.key} className={`progress-bar ${h.className}`} style={{ width: `${(st[h.key] / st.queries) * 100}%` }} title={`${h.label}: ${st[h.key].toLocaleString()}`} />
|
||||
))}
|
||||
</div>
|
||||
<div className="d-flex flex-wrap gap-3 small text-secondary">
|
||||
{HOW.map((h) => (
|
||||
<span key={h.key}>
|
||||
<span className={`badge ${h.className} me-1`}> </span>
|
||||
{h.label} {st[h.key].toLocaleString()}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{st && (st.topBlocked.length > 0 || st.topClients.length > 0 || st.topDomains.length > 0) && (
|
||||
<div className="row g-3 mb-3">
|
||||
<Counted title="Blocked most" items={st.topBlocked} empty="Nothing blocked." />
|
||||
<Counted title="Asked about most" items={st.topDomains} empty="No queries." />
|
||||
<Counted title="Asking most" items={st.topClients} empty="No clients." />
|
||||
</div>
|
||||
)}
|
||||
|
||||
<h4>Zones</h4>
|
||||
{s.zones === null ? (
|
||||
<div className="text-secondary small mb-3">They could not be read.</div>
|
||||
) : (
|
||||
<div className="small mb-3">
|
||||
<div className="text-secondary">
|
||||
{s.zones.total} zone{s.zones.total === 1 ? "" : "s"}
|
||||
{s.zones.disabled > 0 ? `, ${s.zones.disabled} switched off` : ""}
|
||||
{s.zones.issues.length === 0 ? " — none with a problem." : "."}
|
||||
</div>
|
||||
{s.zones.issues.length > 0 && (
|
||||
<ul className="mb-0">
|
||||
{s.zones.issues.map((z) => (
|
||||
<li key={z.name} className={z.problem === "expired" ? "text-red" : "text-yellow"}>
|
||||
{z.name} — {z.problem === "expired" ? "expired: it no longer answers" : "cannot sync with its primary"}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<h4>Block lists and the rest</h4>
|
||||
<ul className="small mb-0">
|
||||
<li>
|
||||
{s.settings.blockLists.count === 0 ? (
|
||||
"No block lists are set up."
|
||||
) : (
|
||||
<>
|
||||
{s.settings.blockLists.count} block list{s.settings.blockLists.count === 1 ? "" : "s"}
|
||||
{st && st.blockListZones !== null ? `, ${st.blockListZones.toLocaleString()} names on them` : ""}
|
||||
{s.settings.blockLists.nextUpdate ? (
|
||||
s.blockListsOverdueMs !== null ? (
|
||||
<span className="text-yellow">
|
||||
{" "}
|
||||
— update was due <TimeAgo value={s.settings.blockLists.nextUpdate} />
|
||||
</span>
|
||||
) : (
|
||||
<span className="text-secondary"> — next update {new Date(s.settings.blockLists.nextUpdate).toLocaleString()}</span>
|
||||
)
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</li>
|
||||
{st && (st.allowedZones !== null || st.blockedZones !== null) && (
|
||||
<li className="text-secondary">
|
||||
Allowed by hand: {(st.allowedZones ?? 0).toLocaleString()} · blocked by hand: {(st.blockedZones ?? 0).toLocaleString()}
|
||||
</li>
|
||||
)}
|
||||
<li className="text-secondary">
|
||||
Recursion: {s.settings.recursion ?? "—"} · DNSSEC validation: {s.settings.dnssecValidation === null ? "—" : s.settings.dnssecValidation ? "on" : "off"}
|
||||
</li>
|
||||
{s.dhcp && (
|
||||
<li className="text-secondary">
|
||||
DHCP: {s.dhcp.scopes} scope{s.dhcp.scopes === 1 ? "" : "s"} ({s.dhcp.enabledScopes} on), {s.dhcp.leases.toLocaleString()} lease{s.dhcp.leases === 1 ? "" : "s"}
|
||||
</li>
|
||||
)}
|
||||
</ul>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
/** Technitium DNS Server: whether DNS really answers, whether it blocks, what it has done in the last day, how its zones and block lists are, and how it is doing. */
|
||||
export default function TechnitiumDns() {
|
||||
const [data, setData] = useState<TechnitiumInstance[] | null>(null);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
useEffect(() => {
|
||||
const load = () =>
|
||||
api.technitium
|
||||
.list()
|
||||
.then((r) => {
|
||||
setData(r.instances);
|
||||
setError(null);
|
||||
})
|
||||
.catch((err) => setError(readableError(err)));
|
||||
void load();
|
||||
const t = setInterval(load, 60_000);
|
||||
return () => clearInterval(t);
|
||||
}, []);
|
||||
return (
|
||||
<>
|
||||
<h2 className="page-title">Technitium DNS</h2>
|
||||
<p className="text-secondary">
|
||||
Read every two minutes (see <Link to="/integrations">Integrations</Link>), with a real DNS question put to it each time — its web console can be up while DNS is not. Nothing is changed. <strong>DNS that stops answering</strong>, <strong>blocking left off for an hour</strong>,{" "}
|
||||
<strong>block lists that stopped updating</strong> and <strong>an expired or unsynced zone</strong> are alerts — see <Link to="/alerts">Alerts</Link>. Technitium does not report the CPU, memory or disk of the machine it runs on: put a <Link to="/servers">server agent</Link> there for that.
|
||||
</p>
|
||||
<ErrorNotice error={error} />
|
||||
{!data && !error && <BlockSkeleton lines={4} />}
|
||||
{data && data.length === 0 && (
|
||||
<div className="card">
|
||||
<div className="card-body">
|
||||
<EmptyState title="No Technitium DNS Server connected" hint="Add one under Integrations with the address of its web console and an API token (Administration → Sessions → Create Token). Zones and records are connected separately, under DNS." />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{data?.map((a) => <Card key={a.id} a={a} />)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -31,6 +31,7 @@ export const TYPE_LABELS: Record<IntegrationType, string> = {
|
||||
radarr: "Radarr",
|
||||
prowlarr: "Prowlarr",
|
||||
adguard: "AdGuard Home",
|
||||
technitium: "Technitium DNS",
|
||||
grafana: "Grafana",
|
||||
lidarr: "Lidarr",
|
||||
readarr: "Readarr",
|
||||
@@ -67,6 +68,7 @@ export const TYPE_PAGES: Record<IntegrationType, string> = {
|
||||
radarr: "/media",
|
||||
prowlarr: "/media",
|
||||
adguard: "/adguard",
|
||||
technitium: "/technitium",
|
||||
grafana: "/grafana",
|
||||
lidarr: "/media",
|
||||
readarr: "/media",
|
||||
@@ -77,13 +79,13 @@ export const TYPE_GROUPS: { id: string; label: string; types: IntegrationType[]
|
||||
{ id: "infrastructure", label: "Infrastructure", types: ["proxmox", "synology", "dockhand", "hetzner", "fragnet", "tailscale"] },
|
||||
{ id: "apps", label: "Apps", types: ["homeassistant", "jellyfin", "sonarr", "radarr", "lidarr", "readarr", "prowlarr", "immich", "paperless", "nextcloud", "authentik"] },
|
||||
{ id: "backups", label: "Backups", types: ["pbs"] },
|
||||
{ id: "network", label: "Network", types: ["unifi", "npm", "phpipam", "netbox", "adguard"] },
|
||||
{ id: "network", label: "Network", types: ["unifi", "npm", "phpipam", "netbox", "adguard", "technitium"] },
|
||||
{ id: "monitoring", label: "Monitoring", types: ["uptimekuma", "prometheus", "grafana", "ups", "speedtest"] },
|
||||
{ id: "automation", label: "Automation", types: ["semaphore", "gitea", "osticket", "n8n"] },
|
||||
];
|
||||
|
||||
/** The kinds whose reader can be inspected (Settings → Integrations → Check what can be read): the ones that read through the shared HTTP helper and have a reader to run. */
|
||||
export const INSPECTABLE: IntegrationType[] = ["authentik", "immich", "jellyfin", "netbox", "nextcloud", "paperless", "prometheus", "hetzner", "speedtest", "fragnet", "sonarr", "radarr", "prowlarr", "lidarr", "readarr", "adguard", "grafana"];
|
||||
export const INSPECTABLE: IntegrationType[] = ["authentik", "immich", "jellyfin", "netbox", "nextcloud", "paperless", "prometheus", "hetzner", "speedtest", "fragnet", "sonarr", "radarr", "prowlarr", "lidarr", "readarr", "adguard", "technitium", "grafana"];
|
||||
|
||||
/** The group a kind belongs to; a kind nobody has placed yet falls in "Other" rather than vanishing. */
|
||||
export function groupOfType(type: IntegrationType): { id: string; label: string } {
|
||||
|
||||
Reference in new issue
Block a user