![]() ![]() Step 5 - Installing and Configuring the Zabbix Agent The default user is Admin and the password is zabbix.īefore we log in, let’s set up the Zabbix agent on our other server. Click Finishto proceed to the login screen. ![]() The web interface setup is complete! This process creates the configuration file /usr/share/zabbix/conf/ which you could back up and use in the future. The next screen will show the pre-installation summary so you can confirm everything is correct.Ĭlick Next step to proceed to the final screen. The Name is optional it is used in the web interface to distinguish one server from another in case you have several monitoring servers. On the next screen, you can leave the options at their default values. Therefore enter the MySQL credentials you configured in Step 2 and click Next step to proceed. We told the Zabbix server about our database, but the Zabbix web interface also needs access to the database to manage hosts and read data. The next screen asks for database connection information. Once you’ve verified that everything is ready to go, click Next step to proceed. Be sure to scroll down and look at all of the prerequisites. On the next screen, you will see the table that lists all of the prerequisites to run Zabbix.Īll of the values in this table must be OK, so verify that they are. On the first screen, you will see a welcome message. ![]() Launch your browser and go to the address your_zabbix_server_ip_address/zabbix/. The web interface lets us see reports and add hosts that we want to monitor, but it needs some initial setup before we can use it. Step 4 - Configuring Settings for the Zabbix Web Interface Look for the following section of the file: Open the configuration file in your editor: In order for the Zabbix server to use this database, you need to set the database password in the Zabbix server configuration file. If you see the error ERROR 1045 (28000): Access denied for user (using password: YES) then make sure you used the password for the zabbix user and not the root user. This command will not output any errors if it was successful. zcat /usr/share/doc/zabbix-server-mysql/ | mysql -uzabbix -p zabbixĮnter the password for the zabbix MySQL user that you configured when prompted.We’ll use zcat since the data in the file is compressed. Run the following command to set up the schema and import the data into the zabbix database. The Zabbix installation provided us with a file that sets this up for us. Next we have to import the initial schema and data. That takes care of the user and the database. grant all privileges on zabbix.* to identified by ‘ your_password‘. ![]() Then create a user that the Zabbix server will use, give it access to the new database, and set the password for the user: create database zabbix character set utf8 collate utf8_bin.Log into MySQL as the root user using the root password that you set up during the MySQL server installation:Ĭreate the Zabbix database with UTF-8 character support: We’ll also create a specific user for this database so Zabbix isn’t logging into MySQL with the root account. We need to create a new MySQL database and populate it with some basic information in order to make it suitable for Zabbix. Step 2 - Configuring the MySQL Database For Zabbix The server will use a MySQL database to record monitoring data and use Apache to serve the web interface. One will be configured as the server, and the other as a client which you’ll monitor. In this tutorial, we will configure two machines. It also provides a web interface so you can view data and configure system settings. The Zabbix server stores its data in a relational database powered by MySQL, PostgreSQL, or Oracle. Zabbix version 3 supports encrypted communication between the server and connected clients, so your data is protected while it travels over insecure networks. Zabbix uses a client-server architecture and uses a small agent on the monitored client to gather data and send it to the Zabbix server. Useful information is stored in a database so you can analyze data over time and improve the quality of provided services, or plan upgrades of your equipment. These metrics can help you determine the current health of your IT infrastructure and detect problems with hardware or software components before customers complain. It offers real-time monitoring of thousands of metrics collected from servers, virtual machines, and any other kind of network device. Zabbix is open-source monitoring software for networks and applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |