Icinga / Icinga/icingaweb2-module-graphite

Support different default time ranges per service

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

Nobody has claimed this yet.

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

Description

I have some services, that are only checked once per day. I would like to configure a different default_time_range for this services (maybe based on the check command).

I could image some config setting like this:

[check_command1]
default_time_range = "1"
default_time_range_unit = "day"

[check_command2]
default_time_range = "1"
default_time_range_unit = "weeks"

And each not defined check_command should still use the default from ui.default_time_range.

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 by locating the configuration handling for ui.default_time_range and the check_command settings described in the issue. Implement per-check-command time ranges with the existing UI default as the fallback, and verify that daily and weekly examples resolve to their configured values while undefined commands retain the UI default.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.