host_alert_history
Retrieve paginated alert history for a specific host and trigger, including paired recovery events, to analyze incident timelines over a configurable period.
Instructions
查询完整分页、精确恢复配对的主机与触发器告警历史。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 查询天数(默认7) | |
| hostid | Yes | 主机ID | |
| triggerid | Yes | 触发器ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | 查询失败原因 | |
| complete | Yes | 查询及补齐是否完整 | |
| host_summary | Yes | 主机概览(查询期间主机所有告警统计) | |
| alerts_before | Yes | 当前告警前的其他告警(可能关联) | |
| trigger_stats | Yes | 当前触发器统计(历史告警分析) |