How To Install Zabbix 4.4 Server On CentOS 7

Zabbix is an open source network monitoring software designed to monitor and track the status of various network devices, servers, and virtual machines

Update the system using below command

# yum update

Install required packages

# yum install  mariadb-server  httpd -y                          

# yum install php php-cli php-common php-devel php-pear php-gd php-mbstring php-mysql php-xml php-bcmath              

Rage 
ekaae 
pnp.xge O'S. 4.16-4S 
0:5.4.L€-45.e17 Ee 
pnp-oa.xg€ 
Pzoeesging 
€4 0:s.4.I€-4s.e1' 
nge 
paekage 
Rage 
paekage 
package 
Package 
paekage 
F age 
1 ibzip 
> Paekage 
Ver ' 
5 4.L€-45.e17 
S.4.:e-4S.el' 
0.10.1-e.ei7 
5 4.1€-45.e17 
-21.e11 be 
package: 
€4 0:5.1.2-14.e17 Ee 
Re sol 
xee 
xee 
xee 
Rep. ' 
€4 
€4 
€4 
€4 
Zate 't 
late 't 
564 
35€ 
125 
47 
98 
62 
Package' 
tal "ze: 5 M

# systemctl start httpd

Install Repository with MySQL database

# mysql_secure_installation

Install yum repository to install Zabbix

CentOS/RHEL 7: 

rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm

After adding Zabbix apt repository in your system use following command to install Zabbix server.

 # yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

Create initial database schema

# mysql -u root -p

mysql> create database zabbix character set utf8 collate utf8_bin;

mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘Password’;

FLUSH PRIVILEGES;

mysql> quit;

Import initial schema and data. You will be prompted to enter your newly created password.

 # zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql –u zabbix -p zabbix

Configure the database for Zabbix server

Edit file /etc/zabbix/zabbix_server.conf

Update the following database configurations. This will be used by Zabbix server to connect to the database.

DBHost=localhost

DBName=zabbix

DBUser=zabbix

DBPassword=password

Configure PHP for Zabbix frontend

Edit file /etc/httpd/conf.d/zabbix.conf, uncomment and set the right timezone for you.

# php_value date.timezone Asia/Kolkata

Start Zabbix server and agent processes and make it start at system boot:

# systemctl start zabbix-server zabbix-agent httpd mariadb

# systemctl enable zabbix-server zabbix-agent httpd mariadb

Now your Zabbix server is up and running!

Configure Zabbix frontend

Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix

Follow steps described in Zabbix documentation: Installing frontend

 Start using Zabbix

ZABBIX 
Welcome to 
Zabbix 4.4

Check for pre-requisites

Check if you meet all the system requirements. If not configure your php.ini.

Configure DB Connection

Fill your DB details which you created and click on Next Step 

Zabbix server details

This is the host and port of running Zabbix server. As your Zabbix server is running on the same host, so keep the values unchanged. You can give a name for your instance.

 Pre-Installation Summary

This will give you a summary of your configuration. Click on Next Step

Install Zabbix

Click on Finish button to install Zabbix server

Install Zabbix

You will see a successful installation message on this page. This will also show you a message for the created configuration file.

Login to Zabbix

Login to Zabbix with following credentials

PhotoDirector 365

UserName          : Admin

Password    : Zabbix

You will see your Zabbix home screen now

zabbix: Dashboard - Mozilla Firefox 
zabbix: Dashboard 
All dashboards / Global view 
System information 
Parameter 
Zabbix server is running 
@ 127.0.0.1/zabbix/zabbix.php?action— 
—dashboard.view 
Ill \ 
Value 
Yes 
Details 
localhost:10051 
1/0 /138 
94/0/2 
49/0[11481 
1 
Available 
Number of hosts (enabled/disabled/templates) 
Number of items (enabled/disabled/not supported) 
Number of triggers (enabled/disabled [problem/okD 
Number of users (online) 
Required server performance, new values per second 
High 
Notavailable 
1 
Ave rage 
Duration 
1m 33s 
unknown 
Warning 
Problems 
Time 
Disaster 
Problem • Severity 
igh memory utilization ( for 5m 
Information 
Actions 
1 
Total 
Not classified 
Tags 
Host 
Zabbix server 
Favourite maps 
No maps added. 
Favourite graphs 
No graphs added.

Congratulation! Your Zabbix setup has been completed.

Click to rate this post!
[Total: 1 Average: 5]

Share and Enjoy !

Shares
Shares