check_inventory_health
Validate infrastructure inventory files: confirm structure, environment variables, and referenced SSH keys or kubeconfigs are valid and readable, re-reading from disk to catch drift.
Instructions
Validate the inventory file: it parses and passes structural validation, every referenced environment variable (${VAR}) is set, and every SSH key / kubeconfig file it references exists and is readable. Re-reads the inventory file from disk on every call, so it reflects the file's current state — including drift since the server started — not just what's currently loaded in memory. Read-only, takes no arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| grafana | Yes | ||
| proxmox | Yes | ||
| routers | Yes | ||
| servers | Yes | ||
| problems | No | ||
| switches | Yes | ||
| timestamp | Yes | ||
| kubernetes | Yes |