/run/user/1000/gvfs is not accessible Nagios监控问题
来源:互联网 发布:综艺后期制作软件 编辑:程序博客网 时间:2024/06/10 18:47
在Ubuntu14.04下安装nagios3.5.1, 且本机作为server端,/etc/init.d/nagios3 start之后,在web界面突然看到有一个红色警告,显示如下
DISK CRITIAL - /run/user/1000/gvfs is not accessible: Permission denied
然后去个naigos FAQ上找了下,竟然官方说这是一个bug,为bug#615848. 问题原因是FUSE文件系统和权限不配的问题,这里简要说下解决方法。
因为默认是自检,即对本机进行检查。官方给出的方法的忽略检查这个文件夹,因为检不检查这个文件夹都可以。
方法如下:
cd /etc/nagios-plugins/config
vim disk.cfg
在command check_disk 和check_all_disks 最后加上 -A -i /run/user/1000/gvfs(此处可能有所不同,添加你自己的此文件夹的绝对路径即可),改后如下
# 'check_disk' command definition
define command{
command_name check_disk
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$' -A -i /run/user/1000/gvfs
}
# 'check_all_disks' command definition
define command{
command_name check_all_disks
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -A -i /run/user/1000/gvfs
}
然后再重启nagios3(/etc/init.d/nagios3 restart),就没有这个问题了。
- /run/user/1000/gvfs is not accessible Nagios监控问题
- DISK CRITICAL - /root/.gvfs is not accessible: Permission denied
- find: ‘/run/user/1000/gvfs’: Permission denied
- find: ‘/run/user/1000/gvfs’: Permission denied解决办法
- find: ‘/run/user/1000/gvfs’: Permission denied解决办法
- BASE64Encoder is not accessible问题
- The type BASE64Encoder is not accessible问题(转)
- virtualBox启动虚拟机报“The VirtualBox kernel driver is not accessible to the current user”错误
- 用gem5img.py卸载目录时Permission denied: '/run/user/112/gvfs'
- The type BASE64Encoder is not accessible 解决方法
- gl_Position is not accessible in this profile
- ABAP error:statement is not accessible
- 导入新的sld时出现问题The repository root is invalid or not accessible
- Eclipse出现Access restriction : The type BASE64Decoder is not accessible due to restriction问题
- 关于“The type **** is not accessible due to restriction on required library”问题的解决
- Access restriction: The type * is not accessible due to restrict,报错问题
- Access restriction: The type is not accessible due to restriction on required library问题处理
- 解决“Access restriction: The type BASE64Encoder is not accessible due to restrict”的问题
- android自定义View之(二) Custom Drawing
- speedphp登录成功跳转到登录前的页面实现步骤
- 使用firefox浏览器在手机上调试页面
- PIC单片机用指针调用IO口
- oracle 多行转一列,一列转多行
- /run/user/1000/gvfs is not accessible Nagios监控问题
- Ubuntu 13.10下对SQL server操作
- LeetCode192:House Robber
- 配置IIS 中的FTP
- 生产者和消费者
- eclipse使用技巧
- Swing之下拉框 http://blog.csdn.net/u012643122/article/details/39081017
- 多角度思考 创造性思维 --论文中的Chris家的电话铃响起了 题
- chmod 命令