Import layouts, health checks, templates and history
POST/plugin-api/host-metrics/import
Reads a file made by the export route. Each host is matched by address, port and user among the hosts the caller can connect to; others are skipped. Existing layouts, checks and templates are kept unless overwrite is true. History rows already stored are never duplicated.
Request
Responses
- 200
- 400
Counts of imported, updated, skipped and failed items.
Not a Host Metrics export, or too large.