Hi all.
I have a few NFS shares from a NetApp device mounted across several nodes in my infrastructure. Originally, when I added these nodes, the NFS shares weren't discovered at all, but I eventually found out how to enable these via the "Mounted filesystem discovery" rule (I had to update the settings for "File systems for discovery" under "Administration/General/Regular expressions" from this:
^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs)$
to:
^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs|nfs|nfs3|nfs4)$
As such, the NFS shares are now being discovered on all of my nodes, and are reporting as expected.
The problem however is that I don't want to necessarily monitor this same volume from all nodes at the same time, or more to the point, I don't wish to receive the same alarm from all nodes each time the capacity on these volumes breaches the trigger (80%).
Ideally, I'd like to monitor the NFS share only from one "admin" type host (i.e. the Zabbix server itself say) and ignore on all the rest. As such, if the volume reaches the 80-90% mark, I get one Problem alert only, as opposed to multiple.
Any idea on how can do this?
Thanks,
M
I have a few NFS shares from a NetApp device mounted across several nodes in my infrastructure. Originally, when I added these nodes, the NFS shares weren't discovered at all, but I eventually found out how to enable these via the "Mounted filesystem discovery" rule (I had to update the settings for "File systems for discovery" under "Administration/General/Regular expressions" from this:
^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs)$
to:
^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs|nfs|nfs3|nfs4)$
As such, the NFS shares are now being discovered on all of my nodes, and are reporting as expected.
The problem however is that I don't want to necessarily monitor this same volume from all nodes at the same time, or more to the point, I don't wish to receive the same alarm from all nodes each time the capacity on these volumes breaches the trigger (80%).
Ideally, I'd like to monitor the NFS share only from one "admin" type host (i.e. the Zabbix server itself say) and ignore on all the rest. As such, if the volume reaches the 80-90% mark, I get one Problem alert only, as opposed to multiple.
Any idea on how can do this?
Thanks,
M
Comment