Add Hetzner Robot: dedicated servers and storage boxes, with shutting-down, locked and rescue-left-on alerts
Read every 15 minutes (Robot allows 200 requests an hour; read-only): each server's product, addresses, status, rescue system and paid-until, and the storage boxes. Adapter, sync service, hetzner_robot_state table, /api/hetzner-robot, Infrastructure → Hetzner Robot page, metrics and docs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7618bf0f0a
commit
01acbaf831
31 files changed
+10105
-10
No files matched your search
@@ -116,6 +116,10 @@ export const INTEGRATION_FIELDS: Partial<Record<IntegrationType, IntegrationFiel
|
||||
{ key: "insecure", label: "Allow self-signed certificate", secret: false, type: "checkbox" },
|
||||
],
|
||||
hetzner: [{ key: "token", label: "API token", secret: true, type: "password", placeholder: "Hetzner Console → the project → Security → API tokens; Read is enough" }],
|
||||
hetznerrobot: [
|
||||
{ key: "user", label: "Webservice user name", secret: false, placeholder: "#ws+… (Robot → Settings → Webservice and app settings)" },
|
||||
{ key: "password", label: "Webservice password", secret: true, type: "password", placeholder: "the webservice user's own password, not the Robot login" },
|
||||
],
|
||||
sonarr: [
|
||||
{ key: "url", label: "Sonarr URL", secret: false, placeholder: "http://sonarr.example.lan:8989" },
|
||||
{ key: "apiKey", label: "API key", secret: true, type: "password", placeholder: "Settings → General → Security → API Key" },
|
||||
@@ -255,6 +259,7 @@ export const INTEGRATION_FIELDS: Partial<Record<IntegrationType, IntegrationFiel
|
||||
export const INTEGRATION_BASE_URLS: Partial<Record<IntegrationType, string>> = {
|
||||
tailscale: "https://api.tailscale.com",
|
||||
hetzner: "https://api.hetzner.cloud",
|
||||
hetznerrobot: "https://robot-ws.your-server.de",
|
||||
fragnet: "https://panel.fragnet.net",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user