I've been busy with cloud computing lately, and I'm also involved in areas I'm not familiar with, data center monitoring software Zabbix. Now I'm going to make a note of the Zabbix technology I'm dealing with recently.
Zabbix-server server-side deployment:
-
system centos 6.4_64 install, install desktop HDD capacity with LVM firewall off
-
install official source with epel source
RPM-IVH http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-2.2.2-1.e16.x86_64.rpm
RPM–IVH http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
-
installation Zabbix-server
Yum install–y Zabbix zabbix-get zabbix-server zabbix-web-mysql zabbix-web zabbixe-agent
-
installation MySQL Database Services
Yum–y Install Mysql-server
Vi/etc/my.cnf
650) this.width=650; "title=" 12.png "src=" http://s3.51cto.com/wyfs02/M02/88/F8/ Wkiol1gdeymasuziaakcc-vqeng070.png-wh_500x0-wm_3-wmp_4-s_2707864282.png "alt=" Wkiol1gdeymasuziaakcc-vqeng070.png-wh_50 "/>
Chkconfig mysqld on service mysqld start
-
Create a database
[Email protected] ~]# mysqladmin-uroot password Tianyun
[Email protected] ~]# Mysql-uroot-ptianyun
Mysql> CREATE database Zabbix character set UTF8;
Mysql> Grant all privileges the zabbix.* to [e-mail protected] identified by ' Zabbix ';
mysql> flush Privileges;
Mysql> \q
Import Zabbix table structure:
[Email protected] ~]# Mysql-uzabbix-pzabbix Zabbix </usr/share/doc/zabbix-server-mysql-2.2.1/create/schema.sql
[Email protected] ~]# Mysql-uzabbix-pzabbix Zabbix </usr/share/doc/zabbix-server-mysql-2.2.1/create/images.sql
[Email protected] ~]# Mysql-uzabbix-pzabbix Zabbix </usr/share/doc/zabbix-server-mysql-2.2.1/create/data.sql
[Email protected] ~]# Mysql-uzabbix-pzabbix zabbix-e ' show tables '
-
. Configuration Zabbix To connect to a database:
[Email protected] ~]# vim/etc/zabbix/zabbix_server.conf
Dbhost=localhost
Dbname=zabbix
Dbuser=zabbix
Dbpassword=zabbix
Dbsocket=/var/lib/mysql/mysql.sock
[[Email protected] ~]# service Zabbix-server start
Starting Zabbix server: [OK]
[Email protected] ~]# chkconfig zabbix-server on
[Email protected] ~]# vim/etc/httpd/conf.d/zabbix.conf
Php_value Max_execution_time 300
Php_value Memory_limit 128M
Php_value post_max_size 16M
Php_value upload_max_filesize 2M
Php_value Max_input_time 300
Php_value Date.timezone Asia/shanghai
[Email protected] ~]# service httpd restart
[Email protected] ~]# chkconfig httpd on
-
Configuration Web Interface
Open your browser: http : //IP Address /zabbix
Click Next next to configure success
650) this.width=650; "title=" 1.png "src=" http://s4.51cto.com/wyfs02/M02/88/FB/ Wkiom1gdewcxan7waadpsm5opp8234.png-wh_500x0-wm_3-wmp_4-s_485322501.png "alt=" Wkiom1gdewcxan7waadpsm5opp8234.png-wh_50 "/>
This article is from the cloud Computing Systems Integration Services blog, so be sure to keep this source http://ecloud.blog.51cto.com/801693/1862449
Monitoring Zabbix Project of Telecom Cloud Computing Center