- FastAPI app med 7 bundled module-typer (proxmox, esxi, truenas, splunk, linux, windows, http-json) - Multi-instance support: flere instanser af samme modultype med adskilte assets - Community/Enterprise licensing med admin enterprise-toggle - Capacity forecasting, trends, what-if simulator, alert policies - MCP server + LLM copilot integration - Dockerfile + rune.yaml til Yggdrasil
24 lines
1.2 KiB
JSON
24 lines
1.2 KiB
JSON
{
|
|
"id": "http-json",
|
|
"name": "HTTP JSON bridge",
|
|
"version": "1.0.0",
|
|
"api_version": 1,
|
|
"vendor": "Headroom",
|
|
"category": "integration",
|
|
"icon": "api",
|
|
"interval_seconds": 300,
|
|
"enabled_by_default": true,
|
|
"description": "Pull a normalized asset/metric payload from any HTTP API, or push to /api/ingest/http-json. Ideal for UPS, switches and custom scripts.",
|
|
"capabilities": ["assets", "metrics", "push"],
|
|
"docs": "docs/MODULE_SDK.md",
|
|
"settings_schema": [
|
|
{"key": "demo", "label": "Demo mode", "type": "boolean", "default": true},
|
|
{"key": "url", "label": "JSON endpoint", "type": "text", "default": "", "placeholder": "https://api.example.net/capacity"},
|
|
{"key": "token", "label": "Bearer token", "type": "password", "default": ""},
|
|
{"key": "headers", "label": "Extra headers (JSON)", "type": "textarea", "default": "", "placeholder": "{\"X-Api-Key\": \"...\"}"},
|
|
{"key": "assets_path", "label": "Assets path", "type": "text", "default": "assets", "help": "Dot path to the asset list, e.g. data.hosts"},
|
|
{"key": "cluster_name", "label": "Default cluster label", "type": "text", "default": "External API"},
|
|
{"key": "verify_tls", "label": "Verify TLS certificate", "type": "boolean", "default": true}
|
|
]
|
|
}
|