Ga naar inhoud

Frontend explained

This chapter is going to cover the basics we need to know when it comes to the Zabbix user interface and the thing we need to know before we can start to fully dive into our monitoring tool. We will see how the user interface works how to add a host, groups users, items ... so that we have a good understanding of the basics. This is something that is sometimes missed and can lead to frustrations not knowing why things don't work like we had expected them to work. So even if you are an advanced user it may be useful to have a look into this chapter.

Let's get started


Overview of the interface

With Zabbix 7 the user interface after logging in is a bit changed. Our menu on the left side of the screen has has a small overhaul. Let's dive into it. When we login into our Zabbix setup the first time with our Admin user we see a page

like this where we have our main window in green our main menu marked in red and our links marked in yellow.

Overview 2.1 Overview

The main menu can be hidden by collapsing it completely or to reduce it to a set of small icons. When we click on the button with the 2 arrows to the left:

Collapse

2.2 Collapse

You will see that the menu collapses to a set of small icons. Pressing ">>" will bring the main menu back to it's original state.

When you click on the icon that looks like a box with an arrow sticking out, next to the "<<" button will hide the main menu completely.

Hide

2.3 Hide

To bring back our main menu is rather easy, we just look for the button on the left with three horizontal lines and click on it. This will show the main menu but it won't stay. When we click on the box with the arrow now pointing to the bottom right it will keep the main menu back in it's position.

Yet another way to make the screen bigger that is quite useful for monitors in NOK teams for example is the kiosk mode button. This one however is located on the left side of your screen and looks like 4 arrows pointing to every corner of the screen. Pressing this button will remove all the menus and leave only the main window to focus on.

Expand

2.4 Expand

When we want to leave the kiosk mode, the button will be changed to 2 arrows pointing to the inside of the screen. Pressing this button will revert us back to the original state.

Expand

2.5 Shrink

Tip

We can also enter and exit kiosk mode by making use of parameters in our Zabbix url: /zabbix.php?action=dashboard.view&kiosk=1 - activate kiosk mode or /zabbix.php?action=dashboard.view&kiosk=0 - activate normal mode.

Note

There are many other page parameters we can use. A full list can be found here Zabbix also has a global search menu that we can use to find hosts, host groups and templates.

If we type in the search box the word server you will see that we get an overview of all templates, host groups and hosts with the name server in it. That's why this is called the global search box.

Global search

2.6 Global search

This is our result after we looked for the word server. If you have a standard Zabbix setup your page should look more or less the same.

Global search result

2.7 Global search result


We shall now briefly examine the constituent sections of the primary application menu. The main menu, situated on the left hand interface, comprises a total of nine distinct sections:

Menu Name Details
Dashboards Contains an overview of all the dashboards we have access to.
Monitoring Shows us the hosts, problems, latest data, maps, ...
Services An overview of all the Services and SLA settings.
Inventory An overview of our collected inventory data.
Reports Shows us the system information, scheduled reports, audit logs, action logs, etc .
Data collection Contains all things related to collecting data like hosts, templates, maintenance, discovery, ...
Alert The configuration of our media types, scripts and actions
Users User configuration like user roles, user groups, authentication, API tokes, ...
Administration The administration part containing all global settings, housekeeper, proxies, queue, ...

Immediately subjacent to the primary application menu on the left-hand interface resides the Links menu. This module furnishes a collection of pertinent hyperlinks for user access.

Menu name Details
Support This brings us to the technical support page that you can buy from Zabbix. Remember that your local partner is also able to sell these contracts and can help you in your own language. Your local distributors
Integrations The official zabbix integration page
Help The link to the documentation of your Zabbix version
User settings The user profile settings.
Sign out Log out of the current session.

A few interactive elements remains to be addressed on the right-hand portion of the display.

Edit dashboard

2.8 Edit dashboard

The Edit dashboard button facilitates modification of the user's dashboard configuration, a feature that will be elaborated upon in subsequent sections. Located on the extreme left margin is a query mark icon ('?'), activation of which redirects the user to the Zabbix documentation portal providing comprehensive details regarding dashboard functionalities. Conversely, the control situated on the right margin, represented by three horizontal lines, provides access to operations such as sharing, renaming, and deletion of user defined dashboards.


System information

The dashboard also features a dedicated panel labeled System Information. This widget provides a real-time overview of the operational status of the Zabbix deployment. We will now examine the individual data points presented within this panel, as their interpretation is crucial for system comprehension.


System Information

2.9 System Information

Parameter Value Details
Zabbix server is running The status of our zabbix server if it is running yes or no and if it is running on our localhost or another IP and on what port the zabbix server is listening. If no trapper is listening the rest of the information can not be displayed IP and port of the Zabbix server
Zabbix server version This shows us the version of the Zabbix server so the version you see at the bottom of your screen is the one from the Zabbix frontend and can be different but should be in the same major version. Version Number
Zabbix frontend version This is the version of the frontend and should match with what you see at the bottom of your screen. Version Number
Number of hosts (enabled/disabled) The total number of hosts configured on our system How many of those are enabled and disabled
Number of templates The number of templates installed on our Zabbix server.
Number of items (enabled/disabled/not supported) This line shows us the number of items we have configured in total in this case 99 90 are enabled and 0 are disabled but 9 of them are unsupported. This last number is important as those are items not working. We will look into this later why it happens and how to fix it. For now remember that a high number of unsupported items is not a good idea.
Number of triggers (Enabled/disabled[problem/ok]) The number of triggers configured Number of enabled and disabled triggers. Just as with items we also see if there are triggers that are in a problem state or ok state. A trigger in a problem state is a non working trigger something we need to monitor and fix. We will cover this also later.
Number of users (online) Here we see the number of users that are configured on our system The number of users currently online.
Required server performance, nvps The number of new values per second that Zabbix will process per second. This is just an estimated number as some values we get are unknown so the real value is probably higher. So we can have some indication about how many IOPS we need and how busy our database is. A better indication is probably the internal item zabbix[wcache,values,all]
Global scripts on Zabbix server It notifies us that the Global scripts are enabled or disabled in the server config. Global scripts can be used in our frontend, actions, ... but need to be activated first
High availability cluster It will show us if Zabbix HA cluster is disabled or not Failover delay once HA is activated
Note

Global script execution on Zabbix server can be enabled by going to the zabbix server configuration file and setting EnableGlobalScripts=1. For new installations, since Zabbix 7.0, global script execution on Zabbix server is disabled by default.

Tip

System information may display some additional warnings like when your database doesn't have the correct character set or collation UTF-8. Also when the database you used is lower or higher then the recommended version or when there are misconfigurations on housekeeper or TimescaleDB. Another warning you can see is about database history tables that aren't upgraded or primary keys that have not been set. This is possible if you are coming from an older version before Zabbix 6 and never did the upgrade.


The main menu explained

It's important to know that we have seen so far our dashboard with the Admin user and that this user is a Zabbix Super Admin user. This has a serious impact on what we can see and do in Zabbix as this user has no restrictions. Zabbix works with 3 different levels of users we have the regular users, Zabbix Admin and Zabbix Super Admin users. Let's have a deeper look at the differences :

Main Menu sections

2.10 Main menu sections

  • A Zabbix User will only see the red part of our main menu and will only be able to see our collected data.
  • A Zabbix Admin will see the red part and the yellow part of the main menu and is able to change our configuration.
  • A Zabbix Super Admin will see the complete main menu and so is able to change the configuration and all the global settings.

Monitoring Menu

2.11 Monitoring menu

  • Problems: This page will give us an overview of all the problems. With filter we can look at recent problems past problems and problems that are active now. There are many more filters tor drill down more.
  • Hosts: This will give us a quick overview page with what's happening on our hosts and allows us to quickly go to the latest data, graphs and dashboards.
  • Latest data: This page I probably use the most, it shows us all the information collected from all our hosts.
  • Maps: The location where we can create map that are an overview of our IT infrastructure very useful to get a high level overview of the network.
  • Discovery: When we run a network discovery this is the place where we can find the results.

Services menu

2.12 Services menu

  • Services: This page will give us a high level overview of all services configured in Zabbix.
  • SLA: An overview of all the SLAs configured in Zabbix.
  • SLA Report: Here we can watch all SLA reports based on our filters.

Inventory menu

2.13 Inventory menu

  • Overview: A place where we can watch all our inventory data that we have retrieved from our hosts.
  • Hosts: Here we can filter by host and watch all inventory data for the hosts we have selected.

Reports menu

2.14 Inventory menu

  • System information: System information is a summary of key Zabbix server and system data.
  • Scheduled reports: The place where we can schedule our reports, a pdf of the dashboard that will be sent at a specified time and date.
  • Availability report: A nice overview where we can see what trigger has been in ok/nok state for how much % of the time
  • Top 100 triggers: Another page I visit a lot here we have our top list with triggers that have been in a NOK state.
  • Audit log: An overview of the user activity that happened on our system. Useful if we want to know who did what and when.
  • Action log: A detailed overview of our actions can be found here. What mail was sent to who and when ...?
  • Notifications: A quick overview of the number of notifications sent to each user.

Data collection

2.15 Data collection

  • Template groups: A place to logical group all templates together in different groups. Before it was mixed together with hosts in host groups.
  • Host groups: A logical collection of different hosts put together. Host groups are used for our permissions.
  • Templates: A set off entities like items and triggers can be grouped together on a template, A template can be applied to one or more hosts.
  • Hosts: What we need in Zabbix to monitor A host, application, service ...
  • Maintenance: The place to configure our maintenance windows. A maintenance can be planned in this location.
  • Event correlation: When we have multiple events that fires triggers related we can configure correlations in this place.
  • Discovery: Sometimes we like to use Zabbix to discover devices, services,... on our network. This can be done here.

Alerts menu

2.16 Alerts menu

  • Actions: This menu allows us to configure actions based on events in Zabbix. We can create such actions for triggers, services, discovery, autoregistration and internal events.
  • Media types: Zabbix can sent messages, emails etc ... based on the actions we have configured. Those media types need templates and need to be activated.
  • Scripts: In Zabbix it's possible to make use of scripts in our actions and frontend. Those actions need to be created here first and configured.

Users menu

2.17 Users menu

  • User groups: The User groups menu section enables the creation and management of user groupings for streamlined access and permission control.
  • User roles: The User roles menu section defines sets of permissions that can be assigned to individual users, limiting their allowed actions based on the user type they have within the system.
  • Users: The Users menu section provides the interface for managing individual user accounts, including creation and modification settings.
  • API tokens: The API tokens menu section manages authentication credentials specifically designed for programmatic access to the system's Application Programming Interface (API), enabling secure automation and integration with external applications.
  • Authentication: The Authentication menu section configures the methods and settings used to verify user identities and control access to the system.

Administration menu

2.18 Administration menu

  • General: The General menu section within administration allows configuration of core system-wide settings and parameters.
  • Audit log: The Audit log menu section provides a chronological record of system activities and user actions for security monitoring and troubleshooting.
  • Housekeeping: The Housekeeping menu section configures automated maintenance tasks for managing historical data and system performance.
  • Proxies: The Proxies menu section manages the configuration and monitoring of proxy servers used for communication with managed hosts in distributed environments.
  • Macros: The Macros menu section allows the definition and management of global variables for flexible system configuration.
  • Queue: The Queue menu section provides real-time insight into the processing status of internal system tasks and data handling.

Info

More information can be found in the online Zabbix documentation here

Info

You will see that Zabbix is using the modal forms in the frontend on many places. The problem is that they are not movable. This module created by one of the Zabbix developers UI Twix will solve this problem for you.

Note

At time of writing there is no Dashboard import/export functionality in zabbix. So when upgrading dashboards it needs to be created by hand. It was on the roadmap for 7 but didn't made it so feel free to vote https://support.zabbix.com/browse/ZBXNEXT-5419