Icinga / icingadb-web

Icinga DB Web – UI for Icinga DB – Provides a graphical interface to your Icinga monitoring
GNU General Public License v2.0
68 stars 22 forks source link

Introduce child options for service downtimes #1091

Open nilmerg opened 2 weeks ago

nilmerg commented 2 weeks ago

ScheduleDowntimeCommand is basically what ScheduleServiceDowntimeCommand previously was. Though, with the addition of get|setForAllServices() which was only part of ScheduleHostDowntimeCommand.

ScheduleDowntimeCommand::get|setChildOption() is completely new and replaces ScheduleHostDowntimeCommand::get|setTriggered().

ScheduleHostDowntimeCommand, PropagateHostDowntimeCommand and ScheduleServiceDowntimeCommand are now deprecated.

fixes #1090

nilmerg commented 2 weeks ago

@sukhwinder33445 You should now be able to force the scheduleDowntimeAction for redundancy groups to always assume a ScheduleHostDowntimeForm as source. But I didn't test, what will happen if a service downtime is scheduled with the all_services flag set. Either Icinga 2 ignores it, or complains about it. Please check this.