你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu安装配置Nginx+Nagios

[日期:2012-10-28] 来源:Linux社区  作者:gm100861 [字体:大 中 小]

5、Nagios换主题

http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%29/Web-Interfaces/Themes-and-Skins/Nuvola-Style/details

下载下来文件,然后解压,把html重命名为share。覆盖/usr/local/nagios/share即可,建立先备份原来的share。最终效果如下

--------------------------------------------------------------------------------

错误总结:

1、安装nrpe的时候报错

checking for SSL libraries... configure: error: Cannot find ssl libraries

解决办法:

#dpkg -L libssl-dev        #找到libssl.so文件做个链接

root@node2:/usr/lib# ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so

2、页面提示

It appears as though you do not have permission to view information for any of the services you requested...

If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI

and check the authorization options in your CGI configuration file.

解决办法:

# vim /usr/local/nagios/etc/cgi.conf

use_authentication=1 #第78行,把1改为0

补充:

第二个错误,不建议关闭用户认证,可以在nagios.cfg中所有的用户选项后添加 auth_file文件中的用户名,多个用户名之间用逗号隔开。

linux
相关资讯       Nagio  Nagios监控Nginx 
本文评论   查看全部评论 (1)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 1 楼
* 匿名 发表于 2013/3/14 9:40:41
你这个配置自己测过没有?