I’m trying to hide hosts and services from a user role whenever a host or service is a member of a hostgroup or a servicegroup called “hidden”. This is what I have, but it is not working:
Scroll down there a bit, then you’ll find some example restrictions.
Note that the OR operator is a single pipe (a|b), not a double one.
The negation wouldn’t have been necessary, if you just have used the AND operator. (hostgroup_name!=hidden&servicegroup_name!=hidden)
The filter syntax is very basic:
Logical Operators: |, &, !
Grouping Operators: (, )
Relational Operators: =, !=, >, >=, <, <=