Therefore, open the zabbix_nf file with your favorite text editor, find the below lines (use the screenshots as a guide), uncomment them and make the following changes: # nano /etc/zabbix/zabbix_nfĪdd Zabbix server IP address and hostname as shown below.Ĭonfigure Zabbix Agent – zabbix_nf Server=IP of Zabbix Server The next logical step after installing the packages on the system is to open the Zabbix agent configuration file located in /etc/zabbix/ system path on both major distributions and instruct the program to send all the collected information to the Zabbix server in order to be analyzed and processed. Step 2: Configure and Test Zabbix Agent in LinuxĢ.
#Install zabbix agent on centos 5 install
In order to automatically manage missing dependency issues and install the agent using one-shot use the yum command followed by the binary package download link, as in the example below used for installing the agent on CentOS 8: - On RHEL 8. rpm packaged for the distribution-specific release number, using the same page as above, and install it using rpm package manager. $ sudo dpkg -i zabbix-agent_5.4.7-1+ubuntu18.04_bįor RHEL alike systems, download the. Install Zabbix Agent in Ubuntu - On Ubuntu 20.04. Depending on the Linux distribution you are running, go to the Zabbix download page, grab the latest version of the available agent’s binary packages using a tool such as wget or curl and install it on your machine using the distribution-specific package manager – Yum, Rpm or Dpkg.įor Debian/Ubuntu systems (including latest releases) use the following steps to download and install Zabbix Agent: Install Zabbix Agent in Debian - On Debian 11. Step 1: Install Zabbix Agents in Linux Systemsġ.
#Install zabbix agent on centos 5 how to
To stop the Zabbix-agent service anytime, run this command: systemctl stop zabbix-agent Run the following commands to restart the service on boot: systemctl enable zabbix-agent Your Zabbix agent service is enabled to start automatically.
You can allow them with the following command: firewall-cmd -add-service= -permanent firewall-cmd -reload Step 5 – Start Zabbix Agent Open the 10050, 10051, http,https ports for Zabbix to work. The first two of them must contain the IP address of the Zabbix server, and the Hostname is the name of this client that will be displayed in statistics on the server. To finish configuring the Zabbix agent, you need to edit the configuration file to add the IP address of your Zabbix server. Press ‘Y’ for any confirmation to complete the installation process. Use the following command to install the Zabbix agent on your CentOS 8 or RHEL 8 systems using the package management tool. It is worth noting that Zabbix 5.0 was released recently, but you can install the previous version (4.4) by running the following command: dnf install Īfter installing yum repository packages in our system. So first, we’ll need to add the Zabbix repository first. The Zabbix agent packages are not available in CentOS 8 by default. Reboot your server to apply changes Step 2 – Installing Zabbix Agent Change the following line: SELINUX=disabled To activate Zabbix, disable the ‘SELinux’ system. To keep Zabbix running smoothly, you can disable the SELinux to use it properly. Step 1 –Turning SELinux offĬentOS 8 comes with SELinux enabled by default. Zabbix agent is a network service that needs to be installed on all monitored servers in order to gather data about them and forward it to the Zabbix server. It has been designed to monitor and track the performance and availability of network servers, virtual machines, and other IT resources. Zabbix is an enterprise-level open source distributed monitoring solution.