Icinga / Icinga/icinga2

Extending check_disk with -n parameter in ITL template

Open
#10,054 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/itl good first issue ref/IP ref/NC
Dominant language
C++
Stars
2.2k
Forks
616
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Is your feature request related to a problem? Please describe.

ATM (05/08/2024) there is a missing parameter option for the check_disk plugin in the ITL templates it would be kind to renew the template and add the -n, --newlines.

Describe the solution you'd like

"-n" = {
			set_if = "$disk_newlines$"
			description = "Set Newlines for Output"
		}

Additional context

ref/NC/817559

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

Locate the ITL template for the check_disk plugin and compare its existing parameter definitions. Add the requested -n/--newlines option using the issue's stated behavior, then verify that the template exposes the disk_newlines setting correctly.

Written by the indexing model from the issue text.

Assessment

Domain
devops, tooling
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.