CentOs 7中安装zabbix
安装zabbix报错,按照官网的Zabbix Manual,zabbix的dashboard提示:zabbix server is not running the information displayed may not be current。 SELinux出于安全考虑,会阻止zabbix server的http通信端口10051。同时,如果zabbix要使用fping,需要设置相应规则。 一、关闭SELinux 查看SElinux状态: 1.sudo sestatus -v |grep status [root@comd-localhost ~]# sudo sestatus -v |grep status SELinux status: enabled Policy MLS status: enabled Policy deny_unknown status: allowed 2.查看模式: getenforce [root@comd-localhost ~]# getenforce Enforcing 关闭SELinux: 3.临时关闭:setenforce 0 setenforce 0 #setenforce 1 设置SELinux 成为enforcing模式 #setenforce 0