Service Downtimes
list_service_downtimesList scheduled or active service downtimes for specific hosts or services. Use only_active=true to show only downtimes currently in effect.
Instructions
Scheduled and running downtimes for services. Leave hostname/servicename empty for all services. Set only_active=True for downtimes running right now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return. Defaults to 50, maximum 500. | |
| hostname | No | Restrict to this host. Empty means every host. | |
| only_active | No | True returns only downtimes running right now, not those scheduled for later. | |
| servicename | No | Restrict to this service. Empty means every service. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to narrow the query when truncated. | |
| count | Yes | Number of rows in `items`. | |
| items | Yes | The rows, at most `limit` of them. | |
| truncated | Yes | True if openITCOCKPIT held more rows than were returned. |