- 积分
- 16844
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2017-12-14 11:57:36
|
显示全部楼层
7 l! G7 C% }# C, o L8 S8 |
也可以借鉴背的地方的方法:添加一个当前设置的认证用户* V3 N5 N' c" V0 b
edit /usr/local/nagios/etc/cgi.cfg5 E+ K$ W* X8 `4 q) T
1 a; P) Z: c R" U u
add username , without any space like this
& _! ]( L2 O7 l3 o3 ]$ j* W
8 [- p. Z& C7 [/ jauthorized_for_system_information=nagiosadmin,username,username2 ]# c3 N9 x1 t8 M, d( s
如下修改的本次的结果:5 @2 g* `) n2 M! u6 h' s
; E6 O. _& w1 e# N
authorized_for_system_information=nagiosadmin,nagios ; F4 ?9 `4 M6 c! E
保存文档 重启nagios服务和httpd服务
5 j, q5 |1 I+ Q! [save file and restart nagios service using service nagios restart |
|