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

SeveritySort: Remove undefined column hosts(_unhandled)_unreachable #161

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Mar 25, 2024

Icingadb-web no longer has the unreachable state and the Hoststatesummary columns hosts_unreachable_handled and hosts_unreachable_unhandled are removed. (see: Icinga/icingadb-web#803).
The unreachable column is merged as the following:

  • hosts_down_handled = (down && (handled || ! reachable)
  • hosts_down_unhandled = (down && ! handled && reachable)

fixes #160

@sukhwinder33445 sukhwinder33445 self-assigned this Mar 25, 2024
@cla-bot cla-bot bot added the cla/signed label Mar 25, 2024
@sukhwinder33445 sukhwinder33445 force-pushed the fix/undefined-host-unreachable-state branch from 24af130 to 3a5a56f Compare March 25, 2024 10:18
@sukhwinder33445 sukhwinder33445 changed the title Fix broken view with unreachable hosts SeveritySort: Remove undefined column hosts(_unhandled)_unreachable Mar 25, 2024
@sukhwinder33445 sukhwinder33445 added this to the 1.3.3 milestone Mar 25, 2024
@sukhwinder33445 sukhwinder33445 force-pushed the fix/undefined-host-unreachable-state branch 2 times, most recently from 3a5a56f to cb0b10c Compare March 25, 2024 14:48
@sukhwinder33445 sukhwinder33445 added the bug Something isn't working label Mar 26, 2024
@sukhwinder33445 sukhwinder33445 force-pushed the fix/undefined-host-unreachable-state branch from cb0b10c to 287bd02 Compare April 12, 2024 06:49
Icingadb-web no longer has the unreachable state and the `Hoststatesummary` columns `hosts_unreachable_handled` and `hosts_unreachable_unhandled` are removed. (see: Icinga/icingadb-web#803).
The unreachable column is merged as the following:

* hosts_down_handled = (down && (handled || ! reachable)
* hosts_down_unhandled = (down && ! handled && reachable)
@sukhwinder33445 sukhwinder33445 force-pushed the fix/undefined-host-unreachable-state branch from 287bd02 to fbfbe00 Compare April 12, 2024 08:04
@nilmerg nilmerg merged commit befa81c into main Apr 12, 2024
8 checks passed
@nilmerg nilmerg deleted the fix/undefined-host-unreachable-state branch April 12, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined property when sorting cubes for severity in some views
2 participants