add_downtime_host
Schedule a downtime for a Centreon host to suppress notifications and avoid false alerts during maintenance.
Instructions
Schedule a downtime for a host in Centreon to suppress notifications during maintenance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host_id": "<host_id>",
"start_time": "<start_time>",
"end_time": "<end_time>",
"comment": "<comment>"
},
"name": "add_downtime_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | Reason for the downtime | |
| host_id | Yes | Centreon host ID | |
| duration | No | Duration in seconds for flexible downtimes (only used when is_fixed=false) | |
| end_time | Yes | Downtime end time in ISO 8601 format (e.g., 2024-01-15T12:00:00Z) | |
| is_fixed | No | Fixed downtime starts immediately; flexible downtime starts at first problem within the window | |
| start_time | Yes | Downtime start time in ISO 8601 format (e.g., 2024-01-15T10:00:00Z) |