centos 7
systemctl disable firewalld --now
vi /etc/selinux/config
SELINUX=disabled
yum install -y epel-release httpd nagios
yum install -y httpd nagios
systemctl enable httpd --now
systemctl enable nagios --now
浏览器
IP/nagios
用户名:nagiosadmin
密码:nagiosadmin