Creating user groups

As we have seen when creating users in Zabbix, we have to add users to groups. So let's have a look at how to create them and see why we need them.

Getting ready...

To be able to add user groups, we need a running Zabbix installation with an account that has super administration rights.

How to do it...

  1. Go to Administration | Users and select from the dropdown on the right user groups. This will give you an overview of all user groups available in Zabbix.
    How to do it...
  2. Next click Create user group to create a new user group.
  3. First field we can fill in is Group name this is obviously the name we want to give to our group.
  4. The field Users In group is where we can add some users to our group. From the dropdown menu Other groups, we are able to show all users or some that already belong to another group.
  5. The Frontend access selection box is how the users from that group will authenticate:
    • System default: Use default authentication as set in the authentication menu.
    • Internal: Use Zabbix authentication (ignored when using HTTP authentication)
    • Disabled: GUI access is forbidden. The Enabled option is obviously to enable or disable our group. Debug mode will enable the debug mode for the users in our group.
  6. When we switch from the User group tab to the Permissions tab, we are able to tell what access we will give to the users in our group.
  7. Click on the Add button under Read-write, Read only, or Deny to add hosts or host groups to our user group to give the correct permissions:
    • Read only: Members can read the values measured for those hosts and receive messages.
    • Read-write: Members of this group can also configure those hosts.
    • Deny: The user will not have access to these hosts. Even when permissions are granted in another group, they will still be refused.
    How to do it...

Tip

When giving read-write or write permissions to users, the user must also be admin to be able to view the Configuration tab. Else the user will not be able to edit the hosts. Also the admin user will not be able to link or unlink templates if he or she has no read access to the templates group.

How it works...

Users may belong to any number of user groups. Based on the group they belong to, the user will get access to certain servers. It is also possible that those groups have different access permissions to hosts. This means that a user can belong to a group with read-only permissions and write permissions to the same servers. In this case, the user will get read/write permissions. Since Zabbix 2.2, write permissions will take precedence over read-only permissions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.13.255