This probe is on the development roadmap.
Description
The custom_check probe runs an approved executable and evaluates exit code, stdout content, or JSON output. This is the only probe that spawns a process — compiled separately with the vms_custom_check build tag.
Security requirements:
- Executable must be an absolute path (no PATH lookup).
- Probe refuses to run as root (uid 0) or Windows LocalSystem.
- No shell — binary is invoked directly with argv.
- Stdout capped at 1 MiB.
Config fields
Metrics
Example config
Notes
- Build tag
vms_custom_check — not included in the default agent package.
- JSON parse only supports top-level object with numeric/boolean fields.