Service State Changes
list_service_state_changesRetrieve historical state changes for a specific service to identify when it broke and detect flapping behavior.
Instructions
Only the entries where a service's state changed. Shows when it broke and whether it is flapping.
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. | |
| servicename | Yes | Exact service name on that host. Required. get_host_info lists the services of a host, and list_services_by_state reports host and service together. |
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. |