Icinga / Icinga/icingaweb2-module-graphite

Template defaults for disk-windows and memory-windows

Open
#256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/templates
Dominant language
PHP
Stars
73
Forks
31
PR merge metrics
No merged PRs in 30d

Description

The graphite module templates for disk-windows and memory-windows are defaulting to "Used" in the bottom description of the value but the default for the checks are to return the value in free bytes.
https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#disk-windows

Shouldn't the default graphite templates behave the same?

Here for example:
https://github.com/Icinga/icingaweb2-module-graphite/blob/8057c0b8a8fafdcca4f8b00cfefde02fa34a5e55/templates/disk.ini#L17

Contributor guide

No contributing guide indexed for this repository

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

Start with templates/disk.ini at the linked lines, then locate the corresponding memory-windows template in the repository. Compare the template descriptions with the check defaults documented in the Icinga 2 template library; done means both graphite templates describe the same free-bytes value returned by their checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.