-
Notifications
You must be signed in to change notification settings - Fork 282
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 to exclude hosts/services that are member of a specific group #2934
Comments
Hi, Thanks for the report. Unfortunately excluding hosts with such a filter is not possible yet and somehow related to #1649. I can't tell you when this issue is going to be scheduled. Best regards, |
It's now scheduled for the next major release v2.6.0. The issues we're looking at here are the following:
Once this issue is resolved the following will change:
Note that 1) is a breaking change. While the results are clearly wrong there are still results returned on which some may rely upon. This needs to be clearly mentioned in the release notes. |
Still pretty basic, unoptimized and with many unfinished parts. Working, though still requires some extensions in existing query implementations. refs #2934
Also allows to simplify the implementation as it was too generic before. refs #2934
Also allows to simplify the implementation as it was too generic before. refs #2934
Still pretty basic, unoptimized and with many unfinished parts. Working, though still requires some extensions in existing query implementations. refs #2934
Also allows to simplify the implementation as it was too generic before. refs #2934
refs #2934 Signed-off-by: Eric Lippmann <[email protected]>
refs #2934 (EL): Alternative service group subquery filter: ```php $this->joinVirtualTable('services'); $query->joinVirtualTable('members'); return ['sgm.service_object_id', 'so.object_id']; ``` But I think the committed solution is better. Signed-off-by: Eric Lippmann <[email protected]>
refs #2934 Signed-off-by: Eric Lippmann <[email protected]>
refs #2934 Signed-off-by: Eric Lippmann <[email protected]>
refs #2934 (EL): Alternative service group subquery filter: ```php $this->joinVirtualTable('services'); $query->joinVirtualTable('members'); return ['sgm.service_object_id', 'so.object_id']; ``` But I think the committed solution is better. Signed-off-by: Eric Lippmann <[email protected]>
refs #2934 Signed-off-by: Eric Lippmann <[email protected]>
Hi,
I couldn't find any doc or issue on this subject, please apology if already answered out somewhere.
Thanks a lot for all the work !
Expected Behavior
When using filters on hostgroups, hosts being member of more than one hostgroup :
When filtering out a hostgroup (eg :
"hostgroup_name!=foo"
), hosts matching this hostgroup (even if member of other hostgroups) should not be displayed.Current Behavior
If host
a
is member of hostgroupfoo
AND hostgroupbar
, using filter"hostgroup_name!=foo"
, hosta
is still displayed.If host
a
is member of hostgroupfoo
and no other hostgroup, filtering works as expected.Context
I couldn't find any other way to display strictly "all hosts but hosts which are member of group foo".
Encountered both in views (eg:
/icingaweb2/monitoring/list/services?service_problem=1&hostgroup!=foo
) and roles permissions (see documentation: 06-security).Your Environment
The text was updated successfully, but these errors were encountered: