例如让zabbix-server监控server2的httpd
安装httpd
yum install httpd -y
systemctl start httpd
netstat -antlp
给server2模板添加服务
更新后可以查看到:
例如在zabbix-server中监控server3的nginx
在server3安装nginx
源码编译:
tar zxf nginx-1.14.0.tar.gz
yum install gcc -y
yum install pcre-devel -y
yum install zlib-devel -y
./configure --