Find Services
find_servicesQuery services by host, name, state, container, host group, or flapping, and get per-state counts to identify critical services, host workloads, or disk warnings.
Instructions
Find services by host, name, state, container, host group or flapping, and count them per state. Use it for "which services are critical", "what runs on host web01" or "which disk checks warn". For how one known service is doing, use get_service_health.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Part of the host name. Empty: any host. | |
| name | No | Part of the service name. Empty: any service. | |
| limit | No | How many services to list. The counts always cover every match. | |
| state | No | Only services in these states, e.g. ["warning", "critical"]. | |
| flapping | No | true: only services whose state is flapping, counted among up to 100 matches. | |
| container | No | Only services in this container: its exact name or path, e.g. tenant-a. | |
| hostgroup | No | Only services on hosts of this host group: its exact name. | |
| in_downtime | No | true: only services in a downtime. false: only services outside one. | |
| acknowledged | No | true: only acknowledged problems. false: only unacknowledged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||