Zabbix through the C/S mode to collect data, through the B/S mode on the Web side display and configuration. Monitored side: the host through the installation Agent way to collect data, network equipment through the SNMP way to collect data server side: By collecting SNMP and agent sent data, write to the MySQL database, and then through the Php+apache on the Web front-end display. zabbix operating conditions: Server:zabbix Server needs to run in lamp or LNMP environment, the hardware requirements of low agent: Existing agents basically support the market Common Linux, HPUX, Solaris, Sun, Windows and other 1. Installation System: CentOS 6.5 Department lamp architecture 2. Source package: Download zabbix-2.4.3.tar.gz 1. Server Environment Preparation configuration Yum source, Confirm that the dependent environment required for installing httpd,mysql-server,php installation is installed # Yum install mysql-devel gcc net-snmp-devel curl-devel perl-dbi php-gd Php-mysql php-bcmath php-mbstring php-xml-y add Zabbix Users and Groups # Groupadd zabbix# useradd-g zabbix-m zabbix Download Zabbi x-2.4.3.tar.gz Unzip # tar zxvf zabbix-2.4.3.tar.gz 2. Database Prep Start mysqld service and enter MySQL to create Zabbix library and user mysql> Database Zabbix default CharSet UTF8; Query OK, 1 row Affected (0.00 sec) Mysql> Grant all on zabbix.* to [email protected] ' localhost ' -Identified by ' 123 ';mysql> grant all on zabbix.* to [email protected] ' 127.0.0.1 ' ID Entified by ' 123 '; Import Zabbix base data into database, note import in order # cd/root/zabbix-2.4.3/database/mysql/# Mysql-u zabbix-p123 Zabbix < schema.sql# mysql-u za Bbix-p123 Zabbix < images.sql# mysql-u zabbix-p123 Zabbix < data.sql 1. Compile and install zabbix enter zabbix-2.4.3#./con figure --prefix=/usr/local/zabbix --enable-server --with-mysql --with-net-snmp --with-jabber --with-libcurl --with-openipmi --enable-agent error checking for IKSEMEL ... no Configure:error:Jabber Library not found need to install Iksemel and iksemel-devel Download install iksemel-1.4-2.el6.x86_64.rpm and iksemel-devel-1.4-2.el6.x86_64.rpm# RPM-IVH iksemel-1.4-2.el6.x86_64.rpm# rpm- IVH iksemel-devel-1.4-2.el6.x86_64.rpm Error error:failed dependencies: Gnutls-devel was needed by iksemel-devel-1.4-2.el6.x86_64# Yum install gnutls-devel# RPM-IVH iksemel-devel-1.4-2.el6.x86_64.rpm 2. Compile and install zabbix # again./CONFIGURE&NBSP;&NBSP;--PREFIX=/USR/LOCAL/ZABBIX&NBSP;--ENABLE-SERVER&NBSP;--WITH-MYSQL&NBsp;--with-net-snmp --with-jabber --with-libcurl --with-openipmi --enable-agent Error checking for OPENIPMI support ... noconfigure:error:Invalid openipmi directory-unable to find ipmiif.h need to install OpenIPMI and op Enipmi-devel yum install OpenIPMI and download openipmi-devel-2.0.16-14.el6.x86_64.rpm# yum install openipmi# RPM-IVH openipmi-devel-2.0.16-14.el6.x86_64.rpm error error:failed Dependencies:pkgconfig (ncurses) is needed by openipmi-devel-2.0.16-14.el6.x86_64# Yum install ncurses-devel# RPM-IVH openipmi-devel-2.0.16-14.el6.x86_64.rpm 3. Continue compiling the installation zabbix #./configure --prefix=/usr/local/zabbix --enable-server -- with-mysql --with-net-snmp --with-jabber --with-libcurl --with-openipmi -- enable-agent ************************************************************ now run ' make install ' ** ** Thank for using zabbix! **
Zabbix Source Installation