Host Downtimes
list_host_downtimesList scheduled and currently active host downtimes. Optionally filter by hostname or show only active downtimes.
Instructions
Scheduled and running downtimes for hosts. Leave hostname empty for all hosts. Set only_active=True for downtimes running right now, rather than also those scheduled for later.
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. |
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. |