The Linux by Zabbix agent template provides these macros:
AFAICT the host doesn't override these macros. There are no other templates involved messing up these macros, either. So how comes the overlay and tmpfs filesystems are not skipped in mounted filesystem discovery on my Kubernetes nodes? The nfs4 mounts are not discovered, for example.
Code:
{
"macro": "{$VFS.FS.FSTYPE.MATCHES}",
"value": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",
"description": "This macro is used in filesystems discovery. Can be overridden on the host or linked template level."
},
{
"macro": "{$VFS.FS.FSTYPE.NOT_MATCHES}",
"value": "^\\s$",
"description": "This macro is used in filesystems discovery. Can be overridden on the host or linked template level."
},
Comment