Icinga / Icinga/icingaweb2-module-reporting

Add a group by feature

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

Nobody has claimed this yet.

Dominant language
PHP
Stars
71
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Reporting module works really well, however I am missing a group by feature.

I would like a seperate input where you can choose a specific variable/hostgroup or whatever to group by.
The filter should work like it does today, but if you set the group by argument the resulting report should look like this if you choose for example hostgroup:
hostgroup1: - total sla% for this group
host1 - sla%
host2 - sla%
hostgroup2: - total sla% for this group
host3 - sla%
host4 - sla%

The only alternative that i have come up with is one seperate report per desired group by. Which will result in like 30 reports for me that could have been one.

I'm unsure if this will cause issues when a host is part of the same hostgroup, i will do some exploring on my own as well.

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

No files, tests, or entry points are named. Start by locating the reporting module's filter and report-rendering paths, then determine how a selected hostgroup or variable could produce grouped totals and per-host results. Done should include grouped output while preserving current filtering, with behavior defined for hosts in multiple groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
analytics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.