nagios监控失败报错It appears as though you do not have..
来源:互联网 发布:mac切换字母和拼音 编辑:程序博客网 时间:2024/06/11 17:30
nagios监控失败报错It appears as though you do not have..
nagios页面上出现监错误信息:
It appears as though you do not have permission to view information you requested……..
是认证检查导致的,修改cgi.cfg文件里的一个参数 use_authentication=1 将1改为0,重启nagios即可.
不过,这一项其实是nagios保证安全性的一个参数,这么做是禁用安全检查的功能。所以不建议这么做。
我们装nagios时需要生成一个管理员帐号如:
htpasswd ‐c /usr/local/nagios/etc/htpasswd.users nagiosadmin
nagiosadmin是我们用来登录nagios的管理员,而cgi.cfg就是用来验证管理员身份的,如果你使用的用户名不是nogiosadmin的话,就会出现上面所提到的错误,所以,我们现在只要把配置文件里的用户名改为实际的管理员用户名,保存,再重新启动nagios即可!
vi /usr/local/nagios/etc/cgi.cfg
将下面几项中的nagiosadmin改为你实际的用户名,其实也可以在后面加上你的用户名,与前面用逗号隔开,例如:xidd
authorized_for_system_information=nagiosadmin,xiddauthorized_for_configuration_information=nagiosadmin,xiddauthorized_for_system_commands=nagiosadmin,xiddauthorized_for_all_services=nagiosadmin,xiddauthorized_for_all_hosts=nagiosadmin,xiddauthorized_for_all_service_commands=nagiosadmin,xiddauthorized_for_all_host_commands=nagiosadmin,xidd
0 0
- nagios监控失败报错It appears as though you do not have..
- nagios 监控出现It appears as though you do not have permission
- nagios报错 It appears as though you do not have permission to view information for any of the hosts yo
- nagios It appears as though you do not have permission to view information you requested...的解决
- Nagios 无数据,出现 It appears as though you do not have permission to view information 问题解决
- It appears as though you do not have permission to view information for any of the hosts you request
- “you do not have permissions to run”
- maven打包报错:Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no
- C# c++注册组件ocx失败 You do not have a license to use this ActiveX control.
- You do not have a license for this Vuser type
- You do not have a license for this Vuser type
- Check that you do not already have another mysqld process
- SQL 2008 R2 安装报错 \"is not a valid login or you do not\"
- What do you really have?
- git报错:Pull is not possible because you have unmerged files解决方法
- GIT PULL 报错 :You have not concluded your merge (MERGE_HEAD exists).
- git pull报错Pulling is not possible because you have unmerged files
- 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists).
- auto c++
- 从今天开始写博客
- 最近公共祖先LCA问题
- Java回调函数
- Ubuntu10.04下的使用使用华为E1750 3G模块
- nagios监控失败报错It appears as though you do not have..
- Java ThreadLocal的使用
- 批量安装apk到android手机上
- [笔记]一些常用的
- QT打开应用程序(文件)方法
- iOS开发:创建真机调试证书
- Android添加新字体
- C语言中的结构体
- C++11 并发指南五(整个博客的学习)