Host State Changes
list_host_state_changesRetrieve the timeline of state changes for a specified host, showing only incidents where the host's status changed over a given time period.
Instructions
Only the entries where a host's state changed, i.e. the timeline of an incident rather than every check run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours back to look. | |
| limit | No | Maximum rows to return. Defaults to 50, maximum 500. | |
| hostname | Yes | Exact host name. Required - there is no estate-wide form of this tool. Get a name from list_services_by_state, list_log_entries or get_container_tree first. |
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. |