q666123 发表于 2019-1-17 09:24:17

基于CentOS下Nagios的troubleshooting

如果在nagios的web界面上出现如下画面:

http://blog.运维网.com/attachment/200901/200901071231300880734.jpg
请编辑/usr/local/nagios/etc/cgi.cfg文件,在下面7行的后面加上
在这个(htpasswd -c /usr/local/nagios/etc/htpasswd.users xxxx)命令设置的参数(xxxx).
authorized_for_system_information=nagiosadmin,xxxx
authorized_for_configuration_information=nagiosadmin,xxxx
authorized_for_system_commands=nagiosadmin,xxxx
authorized_for_all_services=nagiosadmin,xxxx
authorized_for_all_hosts=nagiosadmin,xxxx
authorized_for_all_service_commands=nagiosadmin,xxxx
authorized_for_all_host_commands=nagiosadmin,xxxx



页: [1]
查看完整版本: 基于CentOS下Nagios的troubleshooting