/Run/user/1000/gvfs is not accessible Nagios monitoring problem, gvfsnagios

Source: Internet
Author: User

/Run/user/1000/gvfs is not accessible Nagios monitoring problem, gvfsnagios

Install nagios3.5.1 in Ubuntu14.04 and use the local machine as the server. After/etc/init. d/nagios3 start, a red warning is displayed on the web interface, as shown below:

Disk critial-/run/user/1000/gvfs is not accessible: Permission denied

Then I went to a naigos FAQ and found it. The official website said this was a bug, for bug #615848. The problem was caused by the problem that the FUSE file system and permissions did not match. Here we will briefly discuss the solution.

Because the default is self-check, that is, the local machine is checked. The official method is to ignore and check this folder because it is OK if you do not check this folder.

The method is as follows:

Cd/etc/nagios-plugins/config

Vim disk. cfg

Add-A-I/run/user/1000/gvfs at the end of command check_disk and check_all_disks (you can add the absolute path of your own folder here ).

# '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
}

Then restart nagios3 (/etc/init. d/nagios3 restart.



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.