用户权限权限问题:(如david用户)
It appears as though you do not have permission to view information for any of the hosts you requested...
为david 设置(相当于)管理员权限操作方法:
vim /usr/local/nagios/etc/cgi.cfg
在所有nagiosadmin上加上,david就ok了
启动nagios服务不成功:(service nagios start)出现的错误:
Nagios新建用户后启动nagios服务报错:
Starting nagios:This account is currently not available.
解决方案:# vi /etc/passwd
把 nagios:x:501:501::/home/nagios:/sbin/nologin
修改为
nagios:x:501:501::/home/nagios:/bin/bash
重启nagios服务即可:service nagios start