Exclude Certain File System from Zabbix Regex Based Disk Usage Monitoring

disk-space-utilizationexcluderegexsystem-monitoringzabbix

I found this answer describing how to exclude a shared memory mount from regex based disk usage monitoring in Zabbix.

Is there any way to exclude a certain file system (CIFS in this case)… for example based on mount point?

Br,

Harri

Best Answer

The question talks both about filesystem types and mountpoints (mentioning CIFS and "based on mount point"). It seems that the intent is to exclude based on mountpoint in the end.

Filesystems can be excluded from monitoring same way as described in the answer you linked to, you just have to filter by the LLD macro {#FSNAME}.

To do so, create a new global regexp (name is up to you) with the "Character string not included" expression of the filesystem you want to exclude. Then add an LLD filter on the {#FSNAME} macro using this global regexp (reference it by name, prefixed with @).