Setup zabbix




















Here is the file content. In our example, the KEY file was stored at :. The system automatically modifies the original Apache's virtual host configuration file. It is time to test your configuration. Open your browser and try to access the HTTP version of your website. Tutorial Zabbix Server - Installation on Ubuntu. Let's create a file to automate the required environment variables configuration.

Verify if the required environment variables were created automatically. Create a Linux account to the Zabbix user and install the required packages.

Now, you need to choose which version of Zabbix agent you want to use. Use the following command to start the default Zabbix Agent. Or use the following command to start the new Zabbix Agent2. Move all the Zabbix frontend files to the Apache's virtual host directory created before. Set the correct file permission. Click on the Next button. On the next screen, you will have to check if all the requirements were achieved.

Enter the Database information required to connect to the Zabbix database. On the next screen, you just have to click on the Next button. Now, take a look on the configuration summary. On the next screen, you will have to click on the Finish button.

Done Building dependency tree Reading state information Done All packages are up to date. Install Zabbix. Setting up libapache2-mod-php Setting up php-gd Setting up zabbix-apache-conf Enabling conf zabbix. To activate the new configuration, you need to run: systemctl reload apache2 Processing triggers for ufw 0.

Processing triggers for systemd Processing triggers for man-db 2. Processing triggers for libc-bin 2. Processing triggers for php7. Processing triggers for libapache2-mod-php7. Database Creation and Configuration. Install MariaDB. Start MariaDB.

Create and Configure the Zabbix Database. Configure the Firewall. Enable Zabbix Server. Zabbix Frontend Configuration. Username: Admin Password: Zabbix. Change Default Password. Then click the Change Password button. Zabbix Agents. About the Author: Dean Conally I am a Linux enthusiast and console gamer, dog lover, and amateur photographer.

Common Fixes Featured Articles Getting Started Other Products Cloud Sites 7. Managed WooCommerce Hosting Managed WordPress You can use the same time zone as your system clock but this is not required. For example, if you are monitoring systems in multiple time zones you may want to use UTC to ensure consistency between systems. You can view the list of available time zones by running:.

If you are running SELinux on your server you should be , you will need to make a couple of changes to get it to play nicely with Zabbix. This allows the Zabbix web frontend to talk to the Zabbix backend. Additionally, you may need to compile a custom module to get the Zabbix server to start. To test if this will be needed run:. If you get an error, install the policycoreutils-python-utils package and compile a custom policy as follows:.

For example, if your server were on You will see an installer screen which will allow you to complete the last few installation steps to set up the web interface. Zabbix will then check the prerequisites. Next we have to tell the web interface how to connect to the database. Zabbix has the power to visualize your data in the form of graphs ,maps, screens and overviews.

Zabbix has a central web interface as it is a distributed monitoring tool. Its architecture consist of three servers. Basically Zabbix uses a client-server architecture and uses the zabbix agent at the client systems to be monitored. These zabbix agents installed on the client system use to gather all the needed information and status from these systems and send it to the zabbix server. To install all the packages we have to enter the below command:.

After saving and closing the above file, we have to start the Apache and MariaDB services. And if we want them started automatically after every reboot we have to Enable them as well. Now first of all we have to secure the MariaDB database so that only authentic users can have the access to it including the ROOT user.

Do it as shown below:. Enter current password for root enter for none : Press Enter Set root password? Now install the Zabbix Repository to the system. I am installing the Zabbix 5. You can go for any of the version as per your requirements. After creating the Repository, enter the below given command to install other reuired packages for zabbix server.



0コメント

  • 1000 / 1000