You can differentiate user permissions in Zabbix by defining the respective user role. Then the unprivileged users need to be included in user groups that have access to host group data.
The user role defines which parts of UI, which API methods, and which actions are available to the user. The following roles are pre-defined in Zabbix:
User type | Description |
---|---|
Guest role | The user has access to the Monitoring, Inventory, and Reports menu sections, but without the rights to perform any actions. |
User role | The user has access to the Monitoring, Inventory, and Reports menu sections. The user has no access to any resources by default. Any permissions to host or template groups must be explicitly assigned. |
Admin role | The user has access to the Monitoring, Inventory, Reports and Configuration menu sections. The user has no access to any host groups by default. Any permissions to host or template groups must be explicitly given. |
Super Admin role | The user has access to all menu sections. The user has a read-write access to all host and template groups. Permissions cannot be revoked by denying access to specific groups. |
User roles are configured in the Administration→User roles section. Super Admins can modify or delete pre-defined roles and create more roles with custom sets of permissions.
To assign a role to the user, go to the Permissions tab in the user configuration form, locate the Role field and select a role. Once a role is selected a list of associated permissions will be displayed below.
Access to any host and template data in Zabbix is granted to user groups on the host/template group level only.
That means that an individual user cannot be directly granted access to a host (or host group). It can only be granted access to a host by being part of a user group that is granted access to the host group that contains the host.
Similarly, a user can only be granted access to a template by being part of a user group that is granted access to the template group that contains the template.