标签:pid 启动 .com adb gre 地址 sea lib url
############yum源########################安装#############
yum install zabbix-proxy mariadb mariadb-server -y
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
create database zabbix-proxy
character set utf8 collate utf8_bin;
grant all on zabbix-proxy. to zabbix@‘localhost‘ identified by ‘123456‘;
grant all on zabbix-proxy
. to zabbix-proxy
@‘localhost‘ identified by ‘123456‘;
zcat schema.sql.gz |mysql -uzabbix-proxy -p123456 -h 127.0.0.1 zabbix-proxy
#########配置文件##############
[root@zabbix-proxy zabbix]# grep -E "^[a-Z]" /etc/zabbix/zabbix_proxy.conf
ProxyMode=0 ##主动模式 zabbix-proxy主动给sever端
Server=192.168.249.10 ##zabbix-server的地址
Hostname=zabbix-proxy ##server添加的时候用的到
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/var/run/zabbix/zabbix_proxy.pid
SocketDir=/var/run/zabbix
DBName=zabbix-proxy
DBUser=zabbix-proxy
DBPassword=123456
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
ExternalScripts=/usr/lib/zabbix/externalscripts
LogSlowQueries=3000
[root@zabbix-proxy zabbix]#
##########启动#######################
systemctl start zabbix-proxy
systemctl enable zabbix-proxy
标签:pid 启动 .com adb gre 地址 sea lib url
原文地址:https://blog.51cto.com/wsxxsl/2388288