Hi All, this document shows you how to install Zabbix 5 on the centos 7 system.
Zabbix is one of the best opensource monitoring tools in the current market. Zabbix has become popular as it can monitor anything not only servers, it can monitor network devices, applications. And it supports integration with a lot of applications. Zabbix if fully customizable based on your needs. There are many contributors to Zabbix who provides a template to monitor different applications. Even you can create custom templates to monitor applications.
Zabbix architecture is a server-client arc, where the Zabbix agent needs to be installed respective servers to get monitored. Zabbix supports agentless monitoring for network devices via SNMP. One of the best things about Zabbix is that it supports all types of Operating systems such as Linux, Windows, Mac OS.
Zabbix 5 came with a lot of new stuff from the previous version. Here is the official link from Zabbix on which all new features are involved.
Now let’s move to the installation Part.
Below are the major component for Zabbix
* Apache Webserver
* PHP Framework and extension
* MariaDB Database
* Zabbix Package
Step 1: Install the apache web server.
Step 2: add the below two lines to in httpd.conf to hide webserver information from the headers as a security measure.
step 3: Restart the apache webserver once you perform the above configuration.
Step 4: Install the MariaDB server which stores Zabbix data and configuration.
You can choose the same server to install all the components, in my case I’m installing MariaDB on different servers.
Check this link to install MariaDB 10.4 how to install MariaDB 10.4 in Centos 7
Step 5: Once you install DB Server, create a database for Zabbix.
login to MySQL
Create a database user that has full permission on Zabbix DB.
if DB server installed on the same server use localhost or else you can use %.
Step 6: Now install the zabbix server and its dependency packages.
Add Zabbix repo.
Install the zabbix packages.
Load the zabbix schema,
Step 7: Configure zabbix server
Change DBHost if you have a different DB server.
Step 8: Configure PHP for Zabbix frontend – set timezone.
Step 9: Now restart the Zabbix server to make the configuration effect and enable the services to start at boot time.
Step 10: Now navigate to <IP or FQDN>/zabbix in the browser to complete the installation.
Check the dependencies are installed.
Enter the DB Name, DB User, DB Host, DB Password
Now You Successfully installed Zabbix-server
Now login to Zabbix by navigating http://IP/zabbix
The default username and password is Admin and zabbix
© 2020, Techrunnr. All rights reserved.