I'd try to add ".gvfs" to the disk_partitions_excluded var by using +=

In my config i create a service for each mount point by specifying 
disk_partitions, so i can better manage thresholds per mount point.

For more documentation check the ITL.
The icinga2 itl defines the CheckCommand check_disk:
https://github.com/Icinga/icinga2/blob/master/itl/command-plugins.conf
Depending on your linux flavor, you might find this file at 
/usr/share/icinga2/include

Regards,
Markus 

Sent from my iPhone

On 08 Jun 2015, at 22:36, Fernando Andrade <cor...@fjandrade.com 
<mailto:cor...@fjandrade.com> > wrote:

Hi I having the same problem with gvfs, as I saw in a previous thread.
(DISK CRITICAL - /XXXX/.gvfs is not accessible: Permission denied)
I can get on this thread since I'm new on the list, sorry.

In all the sites I found about this problem ( most of them about nagios ), the 
solution points to filter it in the check_disk command launcher  adding a -A -i 
.gvfs.
I don't see this as an elegant solution but I haven't found a way to add this 
filter using host commands/directives.

.gvfs is present in Linux if you use gnome, so is a normal find in a non 
headless environment ( Ex Oracle Database ).

Any solution will be appreciated.

FJA

-- 
---------------------------------------
Fernando Jose Andrade
http://www.fjandrade.com <http://www.fjandrade.com> 
0983032550
twitter: _fjandrade_
@Quito,Ecuador
---------------------------------------


_______________________________________________

icinga-users mailing list

icinga-users@lists.icinga.org <mailto:icinga-users@lists.icinga.org> 

https://lists.icinga.org/mailman/listinfo/icinga-users



_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to