Nagios Downtime History Tool
nagios_downtime_history_toolList past and current Nagios downtime windows from nagios.log, filtered by host and a lookback of up to 744 hours, to review maintenance outages and their timing.
Instructions
List past and current downtime windows, read from nagios.log.
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_downtime_history_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours back to look, 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 |