Skip to content

Inherited service not shown in service list of host #3041

@OoYo0uto

Description

@OoYo0uto

Describe the bug

When on the "Services" Tab of a host in the "Icinga Director", Inherited services are no longer shown. A git bisect identified the commit 705631d as causing this behaviour.

Before the commit:

Image

After the commit:

Image

Nevertheless, it is still possible to edit the service via selecting the service in the monitoring and click "Modify". The checks are still correctly applied.

To Reproduce

  1. Define a Template (in our case "Unix Host")
  2. Define a Template (in our case "Linux Agent SLA Basic (Business Hours)"), and add a check to it (in our case "linux-disk") and import the first template ("Unix Host").
  3. Define a host ("-poc-agent-apache") and let it import the template "Linux Agent SLA Basic (Business Hours)".
  4. Go to the Director > Host > "-poc-agent-apache" > Services
    Find that the linux-disk check is no longer shown as inherited.

Expected behavior

The linux-disk check should still be in the list of services.

Screenshots

See above

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • Director version (System - About): 1.11.6

  • Icinga Web 2 version and modules (System - About):

    • Icinga Web 2: 2.12.6 (a9e04752c5be0c015d6b2a3c5b2f752fece16487)
    • director: 1.11.5
    • icingadb: 1.3.0
    • incubator: 0.23.0
    • pdfexport: 0.12.0
    • reporting: 1.0.5
  • Icinga 2 version (icinga2 --version): r2.15.2-1

  • Operating System and version: Debian 13

  • Webserver, PHP versions: Apache2, PHP 8.4.16

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions