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

CheckStatistics: Reflect disabled active checks #403

Closed
flourish86 opened this issue Oct 20, 2021 · 4 comments · Fixed by #773
Closed

CheckStatistics: Reflect disabled active checks #403

flourish86 opened this issue Oct 20, 2021 · 4 comments · Fixed by #773
Assignees
Labels
area/representation Affects the representation of information enhancement New feature or improvement
Milestone

Comments

@flourish86
Copy link
Contributor

Describe the bug

Disabling active checks afftects the “next check” value from the check statistics widget. Currently this leads to negative values for the “next check” or when the view is updated wrong values

To Reproduce

  1. Open a service/host detail view
  2. disabled active checks
  3. Wait until the check interval is over to see the negative “Next Check” value

Expected behavior

We should consider the Check Statistics widget to reflect that active checks are disabled.

Screenshots

Screen Shot 2021-10-20 at 13 55 45

@nilmerg
Copy link
Member

nilmerg commented Oct 25, 2021

Passive checks are on though. What happens when disabling them as well?

@nilmerg
Copy link
Member

nilmerg commented Jul 18, 2022

With passive checks on ...

it looks now this way: (The counter only goes negative until the next autorefresh runs, which is fine IMHO)

Prior
Screenshot from 2022-07-18 10-55-46

After
Screenshot from 2022-07-18 10-56-14

With passive checks off ...

t works the same

Prior
Screenshot from 2022-07-18 10-50-50

After
Screenshot from 2022-07-18 10-51-15

Conclusion

With passive checks on the view is fine since the next update timer doesn't run into negative values. (Unless the autorefresh is disabled..) And as long as passive checks are on, they might come in and there is no reason for indicating this "standard" behavior.

With passive checks off however, it behaves the same. As then no update is accepted (Unless someone clicks on Check now, which forces a check) the timer runs into it's next update and resets on and on. We should reflect that by suspending the Now cursor and by showing not-scheduled (visually similar to empty-state) in the next check bubble.

@nilmerg nilmerg added enhancement New feature or improvement area/representation Affects the representation of information labels Jul 18, 2022
@nilmerg nilmerg added this to the 1.1.0 milestone May 23, 2023
@flourish86
Copy link
Contributor Author

flourish86 commented Jun 1, 2023

This is how the Widget could look, if active AND passive checks are disabled. We figured, that it wouldn’t make sense to vizualize that only one is disabled.

Frame 41

To make it more obvious, this could be an alternative.

Frame 41

@flourish86 flourish86 assigned nilmerg and unassigned flourish86 Jun 1, 2023
@nilmerg
Copy link
Member

nilmerg commented Jun 1, 2023

Pragmatic, as always 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/representation Affects the representation of information enhancement New feature or improvement
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants