• Diniz Martins

Zabbix | Install

Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines and cloud services. It can provide monitoring metrics, among others network utilization, CPU load and disk space consumption.

Zabbix monitoring configuration can be done using XML based templates which contain elements to monitor. The software monitors operations on Linux, Hewlett Packard Unix (HP-UX), Mac OS X, Solaris and other operating systems (OSes); however, Windows monitoring is only possible through agents. You can use MySQL, MariaDB, PostgreSQL, SQLite, Oracle or IBM DB2 to store data. Its backend is written in C and the web frontend is written in PHP.


In this post I'll just show you how to install Zabbix.


#1) You need to do some "apt-get/install" first:


#2) Download Zabbix:


#3) Configure NTP and Data:


#4) Configure your database and privileges:


#5) Edit some files:

#6) Restart/Enable system:

#7) GUI Configuration:


The web interface lets you see reports and add hosts that you want to monitor, but it needs some initial setup before you can use it.

Launch your browser and go to the address http://zabbix_server_name/zabbix/.

On the first screen, you will see a welcome message. Click Next step to continue.


On the next screen, you will see the table that lists all of the prerequisites to run Zabbix.

All of the values in this table must be OK, so verify that they are. Be sure to scroll down and look at all of the prerequisites. Once you’ve verified that everything is ready to go, click Next step to proceed.


The next screen asks for database connection information.

You told the Zabbix server about your database, but the Zabbix web interface also needs access to the database to manage hosts and read data. Therefore enter the MySQL credentials you configured and click Next step to proceed.


On the next screen, you can leave the options at their default values.

The Name is optional; it is used in the web interface to distinguish one server from another in case you have several monitoring servers. Click Next step to proceed.


The next screen will show the pre-installation summary so you can confirm everything is correct.

Click Next step to proceed to the final screen.


The web interface setup is complete.

This process creates the configuration file /etc/zabbix/web/zabbix.conf.php which you could back up and use in the future. Click Finish to proceed to the login screen.


The default user is Admin and the password is zabbix.


As I said, this is just the basic installation part. There are many other things to do after that.

18 views0 comments

Recent Posts

See All

Robots.txt

Robots.txt is a text file with instructions for search engine crawlers. It defines which areas of a website crawlers are allowed to search. However, these are not explicitly named by the robots.txt fi

Sudo and CVE-2021-3156

Sudo stands for SuperUser DO and is used to access restricted files and operations. By default, Linux restricts access to certain parts of the system preventing sensitive files from being compromised.