nagios维护之常见问题
2015-08-28 22:00
513 查看
一、重启nagios 报错:
Starting nagios:This account is currently not available. #这个账户目前不可用;
解决方法:
a、编辑/etc/passwd
把 nagios:x:501:501::/home/nagios:/sbin/nologin 修改为:
nagios:x:501:501::/home/nagios:/bin/bash
b、重启nagios
二、nagios 监控出现It appears as though you do not have permission
监控页面出现
It appears as though you do not have permission to view information for any of the hosts 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.
解决方法:
a、修改/usr/local/nagios/etc/cgi.cfg
use_authentication=1 #把1修改为0
b、重启nagios
Starting nagios:This account is currently not available. #这个账户目前不可用;
解决方法:
a、编辑/etc/passwd
把 nagios:x:501:501::/home/nagios:/sbin/nologin 修改为:
nagios:x:501:501::/home/nagios:/bin/bash
b、重启nagios
二、nagios 监控出现It appears as though you do not have permission
监控页面出现
It appears as though you do not have permission to view information for any of the hosts 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.
解决方法:
a、修改/usr/local/nagios/etc/cgi.cfg
use_authentication=1 #把1修改为0
b、重启nagios
相关文章推荐
- iOS 多线程初学 - 多种方法创建多线程
- nagios维护之添加监控
- AutoLayout -Masonry
- iOS:制作九宫格
- IOS中沙盒的基本介绍
- 斯坦福大学iOS应用开发教程学习笔记(第二课) 计算器实现(mvc实战)
- iOS-数据持久化(一)
- 高仿煎蛋iOS项目基础配置(2)
- IOS开发错误提示原因集合-----长期更新
- iOS 创建单例的两种方法
- iOS 开发流程笔记
- ios Block解决循环引用和回传值
- Xamarin iOS+MvvmCross TableCell add Button
- Xamarin IOS SearchBar 文本框设置
- iOS 代理 协议
- xamarin ios XibFree LinearLayout
- IOS编程中设置系统默认语言的方法
- iOS多线程实现3-GCD
- iOS学习 - tableViewCell(团购)
- IOS开发隐私权限判断