Skip to content

Downtime not scheduled for services on child hosts #2938

@mdetrano

Description

@mdetrano

Using the web interface to schedule downtime for a host, if I select the option to schedule downtime for "child" hosts (dependent hosts), and check the box to include all services, only the services for the "parent" host have the downtime set.

Expected Behavior

All services for all child hosts also have downtime programmed, when the "All Services" box is checked.

Current Behavior

The child hosts themselves will have the downtime, but not their services.

Possible Solution

Steps to Reproduce (for bugs)

  1. Setup a host with dependency configured for another host.
  2. Select the "parent" host in the web interface, click Schedule Downtime link.
  3. Check box for "All services"
  4. Select one of the options to schedule downtime for all child hosts in the "Child Hosts" dropdown
  5. Click Schedule Downtime and check the new Downtime objects listed in the "Downtimes" overview. Services on the "child" hosts will not be present.

Context

When scheduling downtime for network devices, it can be time-consuming to select all the hosts beyond that device in order to ensure that their services are in downtime during the maintenance period.

Your Environment

  • Icinga Web 2 version and modules (System - About): 2.4.1
  • Version used (icinga2 --version): r2.7.0-1
  • Operating System and version: CentOS 7
  • Enabled features (icinga2 feature list): api checker command ido-mysql livestatus mainlog
  • Config validation (icinga2 daemon -C):
  • If you run multiple Icinga 2 instances, the zones.conf file (or icinga2 object list --type Endpoint and icinga2 object list --type Zone) from all affected nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions