设置授权访问Nagios的Web监控界面
来自:网络在httpd.conf文件的最后添加如下信息: nagios安装
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#setting for nagios ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin"> 开源监控软件 AuthType Basic
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthUserFile /usr/local/nagios/etc/htpasswd nagios配置 Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share" 监控软件 <Directory "/usr/local/nagios/share">
AuthType Basic
Options None
AllowOverride None nagios培训 Order allow,deny
Allow from all
AuthName "nagios Access"
AuthUserFile /usr/local/nagios/etc/htpasswd nagios实施 Require valid-user
</Directory>
想做Nagios, Zabbix,Cacti,iTop各种交流的,可以进入开源监控工具Nagios交流QQ群号 :476809427
页:
[1]