欢迎您,零度科技专业海外服务器租用
公司电话: 24小时电话: 

当前位置:首页>新闻动态>精品文摘

目录导航

nagios访问apache权限问题解决,nagios 错误提示解决

添加于 2013-06-19  
精品文摘

nagios web界面提示
It appears as though you do not have permission to view information for any of the services you requested
打开cgi.cfg配置文件,里面有个参数:
use_authentication=1
为了保障系统的安全性,nagios设置了这个参数,默认为1,改为0即可
几则nagios的问题处理
1、装了几次,换了几个版本的系统,脑袋都大了,终于解决了
nrpe在 ./configure时提示
checking for SSL... configure: error: Cannot find ssl libraries
把openssl-devel装上就可以了
2、nagios web界面提示
It appears as though you do not have permission to view information for any of the services you requested...
打开cgi.cfg配置文件,里面有个参数:
use_authentication=1
为了保障系统的安全性,nagios设置了这个参数,默认为1,改为0即可。
3
Service Commands 中Enable notifications for this service时报错
Sorry Dave, I can't let you do that...
It seems that you have chosen to not use the authentication functionality of the CGIs.
I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,so you'll have to disable this safeguard if you are really stubborn and want to invite trouble. 
Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to. 
修改cgi.cfg文件
修改use_authentication=1 (默认) ,如果没有添加,重启nagios服务。
4.
is not allowed to connect to this MySQL server
server(nagios服务端192.168.0.132)
#/usr/local/nagios/libexec/check_mysql -H 192.168.0.207 -u root -p xukixu
此时可能会出现错误:Host '192.168.0.132' is not allowed to connect to this MySQL server
因此只要在客户端做个mysql授权用户访问即可
2、client(客户端192.168.0.207)
#mysql -uroot -pabcd
mysql>grant all privileges on *.* to 
root@192.168.0.132
identified by 'abcd;
mysql>flush privileges;
mysql>quit; 

到零度科技查看原文:http://www.ldisp.com/a/article/2013/1650.shtml

上一篇:您的终端服务临时客户端许可证将在N天之内过期
下一篇:CentOS 设置时间同步的方法

 
了解零度?

零度科技主营全球服务器租用,如果您有服务器租用需求请联系

海外服务器租用

推荐香港、美国、韩国。提供站群服务器、高防服务器租用

海外特价服务器

关注零度特价服务器频道,了解全球特价服务器。

0

业务咨询

    技术服务

      特价活动
        全站搜索
        热门搜索:
        会员
        0通知
        客服
        0特价
        搜索
        TOP
        香港高防服务器,远程桌面,韩国服务器,nginx,反向代理