Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total SLA different depending on breakdown setting #713

Open
rscott1010101 opened this issue Dec 1, 2022 · 2 comments · May be fixed by #710
Open

Total SLA different depending on breakdown setting #713

rscott1010101 opened this issue Dec 1, 2022 · 2 comments · May be fixed by #710
Assignees
Labels
bug Something isn't working

Comments

@rscott1010101
Copy link

Describe the bug

Report configured to calculate service availability over the last week gives different totals depending on the breakdown setting (none/daily/weekly)

To Reproduce

Steps to reproduce the behavior:

  1. Create report for a single service (filtering by name) for the current week.
  2. Set breakdown to Day
  3. Run report and note total
  4. Set breakdown to none
  5. Run report and note total

Expected behavior

Total should be the same, no matter the breakdown period.

Screenshots

Weekly
image
Daily
image

Your Environment

  • Module version: 0.10.0
  • Dependent module versions: icingadb 1.0.2
  • Icinga Web 2 version and modules (System - About): 2.11.2
  • Web browser and version: Chrome 10.7.0.5304.107
  • Icinga 2 version used (icinga2 --version):r2.13.6-1)
  • PHP version used (php --version): 7.4.3
  • Server operating system and version: Ubuntu 20.04

Additional context

Add any other context about the problem here.

@lippserd
Copy link
Member

lippserd commented Dec 1, 2022

Hi,

Thanks for the report. You are using Icinga DB, right?

Edit: Sorry, just read it 😆.

All the best,
Eric

@lippserd
Copy link
Member

lippserd commented Jan 2, 2023

@jhoxhaa Please check the issue and see if the breakdown dates passed to the SLA function are correct.

@yhabteab yhabteab added the bug Something isn't working label Jan 26, 2023
@yhabteab yhabteab assigned yhabteab and unassigned jhoxhaa Feb 9, 2023
@yhabteab yhabteab added this to the 1.0.0 milestone Feb 9, 2023
@yhabteab yhabteab removed this from the 1.0.0 milestone Feb 10, 2023
@lippserd lippserd transferred this issue from Icinga/icingaweb2-module-reporting Feb 10, 2023
@yhabteab yhabteab linked a pull request Feb 10, 2023 that will close this issue
@nilmerg nilmerg modified the milestone: 1.1.0 May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants