zabbix-proxy代理模式,实现公网zabbix监控私网客户机
安装zabbix-proxy,zabbix-agent
./configure --prefix=/usr/local/zabbix --enable-proxy --enable-agent --with-mysql
make -j 4 && make install
配置mysql
Create database zabbix_proxy
mysql -hlocalhost -uzabbix_proxy -pBd_zabbix zabbix_proxy < schema.sql
配置zabbix_proxy.conf
ProxyMode=0
Server=zabbix服务器地址
Hostname=Zabbix_proxy
DBName=zabbix_proxy
DBUser=zabbix_proxy
DBPassword=Bd_zabbix
启动zabbix-proxy
配置zabbix_agent.conf
Server=proxyip
Hostname=test1
Web界面配置主机
原创:[img=0,1]file:///C:\Documents and Settings\xz17\Application Data\Tencent\QQ\Temp\TempPic\LO([~`X9$9)K9_JQ6_4M~LF.tmp[/img]chenjianwen