官术网_书友最值得收藏!

  • Zabbix Cookbook
  • Patrik Uytterhoeven
  • 464字
  • 2021-07-23 20:05:35

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.

主站蜘蛛池模板: 滦南县| 兰州市| 浮山县| 博野县| 石楼县| 安达市| 上犹县| 道真| 莱芜市| 佛教| 丹江口市| 佛教| 佛学| 慈溪市| 罗定市| 望都县| 象山县| 盐城市| 叙永县| 岳池县| 台北县| 闵行区| 积石山| 沭阳县| 郎溪县| 清新县| 乡城县| 大新县| 鹤庆县| 柘城县| 牡丹江市| 涡阳县| 辉南县| 大同市| 玛曲县| 双桥区| 郸城县| 城市| 甘洛县| 乐安县| 乌鲁木齐县|