segunda-feira, 8 de setembro de 2014

HOW TO INSTALL ZABBIX PROXY FROM TAR. GZ (POST 4)

apt-get install snmp libmysqlclient-dev net-snmp-devel libsnmp-dev

apt-get install build-essential snmp libsnmp9-dev snmpd libcurl3-dev fping curl ntpdate


tar -xvf zabbix_2.2.1.orig.tar.gz

./configure --enable-proxy  --with-mysql --with-net-snmp # for MySQL + SNMP monitoring



mysql> create database zabbix_proxy character set utf8;
mysql> grant ALL on zabbix.* to zabbix@'localhost' identified by 'senha'; 

# cat database/mysql/schema.sql | mysql -u zabbix -p zabbix zabbix_proxy
Enter password: 

# cat database/mysql/images.sql | mysql -u zabbix -p zabbix zabbix_proxy
Enter password: 

# cat database/mysql/data.sql | mysql -u zabbix -p zabbix zabbix_proxy

Enter password: 

Nenhum comentário:

Postar um comentário