Nagios Alert History Tool
nagios_alert_history_tool. Roll up Nagios state changes per host and service over a chosen period, capturing warnings, soft states, and flapping that notification history misses.
Instructions
Roll up Nagios state changes per host and service over a period.
Unlike notification history, this includes warnings, soft states and problems that recovered without paging anyone, so it is where flapping shows.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nagios_alert_history_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours of history to roll up, 1 to 744. Default 168 (one week). | |
| host_name | No | Filter to a specific host. Omit for all hosts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |