-
Type:
New Feature Request
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: Frontend (F)
-
None
I would like to propose a new feature that allows administrators to define a global host and host group scope at the dashboard level.
Currently, Zabbix allows hosts and host groups to be configured individually in widgets, and some widgets can use the dashboard host selector or receive data from other widgets.
However, there is no native option to define a fixed set of allowed hosts or host groups for an entire dashboard and automatically enforce that scope across all compatible widgets.
Proposed functionality
Add a new section to Dashboard properties, for example, "Host scope", with the following options:
- Allowed host groups: Select one or multiple host groups.
- Allowed hosts: Optionally select individual hosts.
- Include subgroups: Determine whether nested host groups are included.
- Restrict host selector: Only display hosts belonging to the configured scope.
- Apply scope to all widgets: Automatically restrict compatible widgets to the configured hosts, even when they have their own host or host group filters.
- Lock scope: Prevent users without dashboard editing permissions from changing these restrictions.
The effective host scope should be the intersection of the dashboard restrictions, the user's existing permissions, and any additional filters configured in each widget.
Dashboards without a configured scope should retain their current behavior.
Use case
In large Zabbix environments, users often have permissions to access multiple host groups but need dashboards dedicated to specific technologies, services, locations, or infrastructure teams.
For example, consider a dashboard dedicated to Cisco firewalls.
The administrator configures the dashboard to allow only hosts belonging to:
Firewall/Cisco
Users should then be able to select only those firewalls using the dashboard host selector.
Furthermore, all compatible widgets (Graphs, Gauges, Item values, Honeycomb, Problems, Top hosts, etc.) should automatically respect this restriction.
Even if a widget has a broader host filter configured, it should never display data from hosts outside the dashboard's defined scope.
This restriction should apply only to the dashboard and should not modify the user's general Zabbix permissions.
Benefits
- Centralized host filtering without configuring restrictions individually in every widget.
- Improved dashboard consistency and prevention of accidental data display from unrelated hosts.
- Easier creation and maintenance of reusable dashboards.
- Better usability in large environments with many hosts and host groups.
- Clear separation between user permissions and dashboard-specific display restrictions.
Expected behavior
When a dashboard has a configured host scope, all compatible widgets and host selectors should respect it automatically.
Users with read-only dashboard access should not be able to modify or bypass the configured scope within that dashboard.
This would be a dashboard presentation restriction, not a replacement for Zabbix's existing access control system.
Related feature request:
ZBXNEXT-10804 — Allow to dynamically filter by host group or tag in dashboards.
This proposal complements that request by introducing a persistent, administrator-defined dashboard scope rather than only a dynamic filtering mechanism.