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

Filter: more/less than doesn't seem to working #3974

Closed
Foxeronie opened this issue Oct 4, 2019 · 1 comment · Fixed by #4024
Closed

Filter: more/less than doesn't seem to working #3974

Foxeronie opened this issue Oct 4, 2019 · 1 comment · Fixed by #4024
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Foxeronie
Copy link

Hey!

I have a custom host variable "importance_level" that goes from 0 to 100.
When I try to filter hosts where this variable is more or less than a number I don't get the expected hosts.

To Reproduce

  • Create a custom host variable on multiple hosts with numbers between 0 and 100.
  • Go to Overview -> Hosts
  • Modify the filter
  • add the filter importance_level>50

Expected behavior

In my setup a lot of hosts should be shown, but the result is "No hosts found matching the filter."

Screenshots

Host Inspection with var:
filter_by_level_host-inspection

Host view with var:
filter_by_level_host-tab

Filter search with no result:
icinga_bug_servicegroup_filter

Your Environment

Icinga Web 2 Version
2.7.1
Git commit
c3603c991df2ae2e0e5d03968f54216f4086f198
PHP Version
7.0.33-0ubuntu0.16.04.5

Modules:
businessprocess
director
generictts
ipl
monitoring
reactbundle
x509
Chromium 76
icinga2 - The Icinga 2 network monitoring daemon (version: r2.8.4-1)

Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: Ubuntu
  Platform version: 16.04.6 LTS (Xenial Xerus)
  Kernel: Linux
  Kernel version: 4.4.0-146-generic
  Architecture: x86_64

Build information:
  Compiler: GNU 5.3.1
  Build host: 9c880c2f42f5
Ubuntu 16.04.6

Best regards,
Patrick

@R-Sommer
Copy link

R-Sommer commented Oct 8, 2019

+1

@nilmerg nilmerg added the bug Something isn't working label Dec 9, 2019
@nilmerg nilmerg added this to the 2.8.0 milestone Dec 9, 2019
@nilmerg nilmerg self-assigned this Dec 9, 2019
@nilmerg nilmerg modified the milestones: 2.8.0-rc1, 2.8.0 May 12, 2020
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.

3 participants