Zabbix is a web-based interface that provides distributed System Monitoring and the enterprise-class open source solution for network monitoring capabilities.
Zabbix can monitor various network parameters to ensure Server System and provides a flexible notification mechanism to enable system Administrator quickly locate/resolve various problems that exist.
Zabbix consists of 2 parts, Zabbix server and optional Components Zabbix agent.
Zabbix agent needs to be installed on the monitored target server, it mainly completes the hardware information and operating system related to the memory, CPU and other information collection. Zabbix agent can run on Linux,solaris,hp-ux,aix,free Bsd,openbsd, OS x,tru64/osf1,windowsnt4.0,windows 2000/2003/xp/ Vista and other systems.
This article describes the installation of the Zabbix agent on the CentOS 6.5 system:
Installation Environment: Centos 6.5 zabbix-2.2.9
Zabbix: http://www.zabbix.com/download.php
The installation steps are as follows:
1. Create a new user and group to run Zabbix_agent:
# groupadd Zabbix # useradd-g Zabbix zabbix-s/sbin/nologin
2. Obtain the Zabbix software package and unzip the build installation:
# wget http://cct-hls.chinacloudapp.cn/ll/zabbix-2.2.9.tar.gz # tar-zxvf zabbix-2.2.9.tar.gz-c/usr/src/# cd/us r/src/zabbix-2.2.9/#/configure--prefix=/usr/local/zabbix--enable-agent # make && make install
Note: The above Zabbix download path for the company's internal server Zabbix download path, we recommend that you download online
3. Modify the Zabbix agent configuration file to modify the following content:
vim/usr/local/zabbix/etc/zabbix_agentd.conf server=42.159.134.213 serveractive=42.159.134.213 Hostname= mysqlbak.chinacloudapp.cn
Note: server, serveractive: FQDN or IP for Zabbix server
Hostname is the hostname or IP of the Zabbix agent
4. Modify the Zabbix agent's self-boot file and set it to system service:
# CP misc/init.d/fedora/core/zabbix_agentd/etc/init.d/# VIM/ETC/INIT.D/ZABBIX_AGENTD # (the installation directory and the execution directory in the default boot file do not match the actual and need to be modified) Basedir=/usr/local modified to basedir=/usr/local/zabbix# chkconfig--add zabbix_agentd# chkconfig zabbix_agentd on# Chkconfig--list zabbix_agentdzabbix_agentd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
5. Start the ZABBIX_AGENTD and check to see if it starts properly:
/etc/init.d/zabbix_agentd Start or service Zabbix_agentd start# stop: Stop restart: Restart View status: status# NETSTAT-ANPT | grep zabbixtcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 24922/zabbix_agentd
This article is from the "aestheticism" blog, make sure to keep this source http://cctian.blog.51cto.com/10445650/1665148
Zabbix Monitoring System Client Installation