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