add_downtime_service
Schedule a downtime for a service in Centreon to suppress notifications during maintenance, avoiding false alerts.
Instructions
Schedule a downtime for a service in Centreon to suppress notifications during maintenance.
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 starts at first problem within window | |
| service_id | Yes | Centreon service ID | |
| start_time | Yes | Downtime start time in ISO 8601 format (e.g., 2024-01-15T10:00:00Z) |