Zabbix configuration and installationExperience, but you can also practice it!
Zabbix is a CS-structured monitoring system that has not been properly installed before: You have to review the installation several times. Currently, the configuration and installation of Zabbix are as follows:
Zabbix configuration requires web, php, mysql, gcc, and other support
Please configure it yourself
Next let's start the operation.
The operating system of the Operation example is Centos 5.2.
Wget http://prdownloads.sourceforge.net/zabbix/zabbix-1.6.4.tar.gz? Download (Latest Version)
Tar zxvf zabbix-1.6.2.tar.gz
- mysql -uroot -p
-
- mysql> create databases zabbix;
-
- mysql> GRANT ALL PRIVILEGES ON zabbix.* TO zabbix@localhost IDENTIFIED BY ‘zabbix’ WITH GRANT OPTION;
-
- mysql> use zabbix;
-
- mysql> source /usr/local/src/zabbix-1.6.2/create/schema/mysql.sql
-
- mysql> source /usr/local/src/zabbix-1.6.2/create/data/data.sql
-
- mysql> source /usr/local/src/zabbix-1.6.2/create/data/images_mysql.sql
-
Cd zabbix-1.6.2
./Configure-prefix =/usr/local/zabbix // specify the installation directory
-Enable-server \ // install the server, which is not required by the monitored Node
-Enable-agent \ // install the agent
-With-mysql \ // a directory must be specified for mysql support
-With-net-snmp // you need to specify a directory for snmp support.
Common compilation options are as follows. For more information, see help.
- –enable-static Build statically linked binaries
-
- –enable-server Turn on build of server
-
- –enable-proxy Turn on build of proxy server
-
- –enable-agent Turn on build of agent
-
- –enable-ipv6 Turn on support of IPv6
-
- –with-mysql
-
- –with-oracle
-
- –with-pgsql
-
- –with-sqlite3
-
- –with-jabber
-
- –with-net-snmp
-
- –with-ucd-snmp
-
The Zabbix configuration client only needs to be executed:
- ./configure –prefix=/usr/local/zabbix –enable-agent
-
- make && make install
-
Do you think the above Zabbix configuration and installation experience is understandable and helpful for your configuration!