/RUN/USER/1000/GVFS is not accessible nagios monitoring problem

Source: Internet
Author: User

Install nagios3.5.1 under Ubuntu14.04, and this machine as server side,/etc/init.d/nagios3 start, after the Web interface suddenly see a red warning, shown as follows

DISK critial-/run/user/1000/gvfs is not accessible:permission denied

Then went to a Naigos FAQ on the next, unexpectedly official said this is a bug, for bug#615848. The problem is that the fuse file system and permissions do not work, here is a quick fix.

Because the default is self-test, this machine is checked. The official given method ignores this folder because checking this folder is not possible.

Here's how:

Cd/etc/nagios-plugins/config

Vim Disk.cfg

In command Check_disk and Check_all_disks last add-a-i/run/user/1000/gvfs (here may be different, add your own absolute path to this folder), changed as follows

# ' check_disk ' command definition
Define Command{
Command_name Check_disk
Command_line/usr/lib/nagios/plugins/check_disk-w ' $ARG 1$ '-C ' $ARG 2$ '-e-p ' $ARG 3$ '-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 ' $ARG 1$ '-C ' $ARG 2$ '-a-i/RUN/USER/1000/GVFS
}

Then restart NAGIOS3 (/etc/init.d/nagios3 restart), there is no problem.



/RUN/USER/1000/GVFS is not accessible nagios monitoring problem

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.