Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Zabbix 6 IT Infrastructure Monitoring Cookbook

You're reading from   Zabbix 6 IT Infrastructure Monitoring Cookbook Explore the new features of Zabbix 6 for designing, building, and maintaining your Zabbix setup

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781803246918
Length 506 pages
Edition 2nd Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Brian van Baekel Brian van Baekel
Author Profile Icon Brian van Baekel
Brian van Baekel
Nathan Liefting Nathan Liefting
Author Profile Icon Nathan Liefting
Nathan Liefting
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Chapter 1: Installing Zabbix and Getting Started Using the Frontend 2. Chapter 2: Getting Things Ready with Zabbix User Management FREE CHAPTER 3. Chapter 3: Setting Up Zabbix Monitoring 4. Chapter 4: Working with Triggers and Alerts 5. Chapter 5: Building Your Own Structured Templates 6. Chapter 6: Visualizing Data, Inventory, and Reporting 7. Chapter 7: Using Discovery for Automatic Creation 8. Chapter 8: Setting Up Zabbix Proxies 9. Chapter 9: Integrating Zabbix with External Services 10. Chapter 10: Extending Zabbix Functionality with Custom Scripts and the Zabbix API 11. Chapter 11: Maintaining Your Zabbix Setup 12. Chapter 12: Advanced Zabbix Database Management 13. Chapter 13: Bringing Zabbix to the Cloud with Zabbix Cloud Integration 14. Other Books You May Enjoy

Creating your first users

With our newly created user groups, we've taken our first step toward a more structured and secure Zabbix setup. The next step is to actually assign some users to the newly created user groups to make sure they are assigned our new user permissions from the group.

Getting ready

To get started, we'll need the server and the newly created user groups from the last recipe. So, let's start the configuration.

Now we know there are three departments in the company called Cloud Hoster that are going to use our Zabbix installation. We've created host groups for them but there are also users in those departments that actually want to use our installation. Let's meet them:

Figure 2.15 – Cloud Hoster users diagram

Figure 2.15 – Cloud Hoster users diagram

These are the users we need to configure for Cloud Hoster to use.

How to do it…

Let's start creating the users. We will start with our Networking department:

  1. Navigate to Administration | Users, which will bring you to this page:
Figure 2.16 – The Zabbix Users window

Figure 2.16 – The Zabbix Users window

  1. This is where all the user creation magic is happening, as we will be managing all of our users from this page. To create our first Networking department user named s_network, click the Create user button in the top-right corner, bringing us to the following screen:
Figure 2.17 – The Zabbix Users configuration window

Figure 2.17 – The Zabbix Users configuration window

  1. Fill out Username to provide us with the username this user will be using, which will be s_network.
  2. Also, it's important to add this user to the group we have just created to give our user the right permissions. Click Select and pick our group called Networking.
  3. Last but not least, set a secure password in the Password fields; don't forget it because we will be using it later.
  4. After this, move on to the Permissions tab as we won't be configuring Media just yet:
Figure 2.18 – The Zabbix user Permissions configuration window

Figure 2.18 – The Zabbix user Permissions configuration window

  1. Select the Role option named Super admin role here. This will enable our user to access all UI elements and see and edit information about all host groups in the Zabbix server.

The following user roles are available in Zabbix by default:

Figure 2.19 – A table detailing the different Zabbix user roles

Figure 2.19 – A table detailing the different Zabbix user roles

  1. Let's repeat the previous steps for the user named y_network but in the Permissions tab, select the Admin role option like this:
Figure 2.20 – The Zabbix user Permissions configuration window

Figure 2.20 – The Zabbix user Permissions configuration window

After creating these two users, let's move on to create the infrastructure user, r_ infra. Repeat the steps we took for s_network, changing the Username, of course. Then, add this user to the group and give our user the right permissions. Click Select and pick our group called Infrastructure. It will look like this:

Figure 2.21 – The Zabbix user configuration window for r_infra

Figure 2.21 – The Zabbix user configuration window for r_infra

Lastly, make this user another Super admin.

  1. Now, for our last user, let's repeat our steps again, changing the Username and the group in the User tab like this:
Figure 2.22 – The Zabbix User configuration window for e_buy

Figure 2.22 – The Zabbix User configuration window for e_buy

  1. If you didn't follow the previous recipe, you can change this user's Role to User role at the Permissions tab. But if you did follow the previous recipe, we can use the User+ role we created like this:
Figure 2.23 – The Zabbix user configuration window for e_buy

Figure 2.23 – The Zabbix user configuration window for e_buy

Setting the user up with the User+ role will also let the user e_buy create maintenance periods.

When you're done, you'll end up with the following:

  • s_network: A user with access to the Networking user group permissions and that has the Super admin role.
  • y_network: A user with access to the Networking user group permissions and that has the Admin role.
  • r_infra: A user with access to the Infrastructure user group permissions and that has the Super admin role.
  • e_buy: A user with access to the Buying and Inventory user group permissions and that has the User role or the User+ role.
You have been reading a chapter from
Zabbix 6 IT Infrastructure Monitoring Cookbook - Second Edition
Published in: Mar 2022
Publisher: Packt
ISBN-13: 9781803246918
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image