How To Install zabbix on Fedora 34

zabbix is Open-source monitoring solution for your IT infrastructure

Introduction

In this tutorial we learn how to install zabbix on Fedora 34.

What is zabbix

Zabbix is software that monitors numerous parameters of a network and the health and integrity of servers. Zabbix uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows a fast reaction to server problems. Zabbix offers excellent reporting and data visualization features based on the stored data. This makes Zabbix ideal for capacity planning. Zabbix supports both polling and trapping. All Zabbix reports and statistics, as well as configuration parameters are accessed through a web-based front end. A web-based front end ensures that the status of your network and the health of your servers can be assessed from any location. Properly configured, Zabbix can play an important role in monitoring IT infrastructure. This is equally true for small organizations with a few servers and for large companies with a multitude of servers.

We can use yum or dnf to install zabbix on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install zabbix.

Install zabbix on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install zabbix using dnf by running the following command:

sudo dnf -y install zabbix

Install zabbix on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install zabbix using yum by running the following command:

sudo yum -y install zabbix

How To Uninstall zabbix on Fedora 34

To uninstall only the zabbix package we can use the following command:

sudo dnf remove zabbix

zabbix Package Contents on Fedora 34

/etc/zabbix
/etc/zabbix_agentd.conf
/usr/bin/zabbix_get
/usr/bin/zabbix_js
/usr/bin/zabbix_sender
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/959c652595a4febe7801dfad61fc0190fba518
/usr/lib/.build-id/87
/usr/lib/.build-id/87/cdae8f635f6f49beddce4de9c26b9c6662bab4
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/484c512650873c7d08f8aa333784470586842f
/usr/share/doc/zabbix
/usr/share/doc/zabbix/AUTHORS
/usr/share/doc/zabbix/ChangeLog
/usr/share/doc/zabbix/NEWS
/usr/share/doc/zabbix/README
/usr/share/doc/zabbix/zabbix-fedora-epel.README
/usr/share/licenses/zabbix
/usr/share/licenses/zabbix/COPYING
/usr/share/man/man1/zabbix_get.1.gz
/usr/share/man/man1/zabbix_sender.1.gz
/etc/zabbix
/etc/zabbix_agentd.conf
/usr/bin/zabbix_get
/usr/bin/zabbix_js
/usr/bin/zabbix_sender
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/b5a4ee7464c8b6b940c8e6233189f4dd6653b8
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/959c94aad0d62712a8d5fe4554430c0ff21333
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/e6793926b1f7ad17d1a6a75213dab288a95be3
/usr/share/doc/zabbix
/usr/share/doc/zabbix/AUTHORS
/usr/share/doc/zabbix/ChangeLog
/usr/share/doc/zabbix/NEWS
/usr/share/doc/zabbix/README
/usr/share/doc/zabbix/zabbix-fedora-epel.README
/usr/share/licenses/zabbix
/usr/share/licenses/zabbix/COPYING
/usr/share/man/man1/zabbix_get.1.gz
/usr/share/man/man1/zabbix_sender.1.gz

References

Summary

In this tutorial we learn how to install zabbix on Fedora 34 using yum and dnf.