监控nginx1.8.0

系统linux/redhat6.5 zabbix 2.47监控nginx1.8.0 (上)

拜拜、爱过 提交于 2019-11-27 19:35:58
基本思路: 服务器端(虚拟机1):安装 zabbix-server zabbix_get mysql5.7.9 客户端(虚拟机2):安装zabbix-agent nginx1.8.0 服务器和客户端都是使用redhat6.5搭建的 -------------------------------------------------------------------------------------------------- 实验环境:必须能上网,因为要yum和编译安装一些必要的组件 因为是实验环境,所以防火墙iptables,selinux 一定要关闭!! 服务器端和客户端的 防火墙iptables,selinux 都要关闭! 重要的事情说三遍!! 如果你是大神,可以此条可以忽略。 [root@server ~]# iptables -F [root@server ~]# chkconfig iptables off # 开机就关闭iptables [root@server ~]# setenforce 0 setenforce: SELinux is disabled [root@server ~]# vim /etc/selinux/config 将 SELINUX=enforcing 改为 SELINUX=disabled 服务器端和客户端的 防火墙iptables