Icinga / Icinga/icinga2

Disabling checks via feature command switches does not affect child zones

Open
#9,845 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/distributed
Dominant language
C++
Stars
2.2k
Forks
616
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Describe the bug

When using the feature command switches under /icingaweb2/health#!/icingaweb2/icingadb/health to disable host or service checks, I would expect them to stop completely. But they are still being executed
image
image

To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include configuration, logs, etc. to reproduce, if relevant.

  1. go to /icingaweb2/health#!/icingaweb2/icingadb/health
  2. disable active checks

Expected behavior

No checks are executed.

Your Environment

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

  • Icinga DB version: 1.0.1
  • Icinga 2 version: 2.14.0
  • Operating System and version: Ubuntu 22.04

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from /icingaweb2/health#!/icingaweb2/icingadb/health by disabling active checks, then compare check execution in the parent and child zones. Trace how the feature command switches are handled across zones; done means disabled host or service checks no longer execute in child zones.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.