server1:172.25.17.101 | zabbix-server |
server2:172.25.17.102 | agent客户端 |
server1配置:https://blog.csdn.net/SS_CC_Go/article/details/98191211
2、部署
server2上:nginx部署
tar zxf nginx-1.14.0.tar.gz
cd nginx-1.14.0
cd src/core/
vim nginx.h
14 #define NGINX_VER "nginx/" //修改server名称
cd nginx-1.14.0/
cd auto/cc
vim gcc
171 # debug
172 #CFLAGS="$CFLAGS -g"
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module --with-thr