Service Check History
list_service_checksList check executions for a service, newest first, showing output, latency, and execution time to troubleshoot failures.
Instructions
Individual check executions for a service, newest first: output, latency and execution time per run.
Returns one row per check execution; list_service_state_changes covers only the points where the state changed. A rising executionTime before a failure indicates a timeout or resource exhaustion, an instant failure a configuration, auth or service-down condition.
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. |