I am looking for a way to edit a template (Linux by Zabbix agent) on a Linux host so that we can monitor the free space on all mounted drives and be alerted if it crosses a certain threshold. I gather the way to do this is add a macro to the template but I am unsure of what needs to be added to this.
In short i want to check all linux (99% are Linux OpenSUSE Leap 15.4) servers if they have a mount in /mnt that the free space of this is greater than n%.
I have not used the macros in a template before to know how to add one, or which ones I can use as a starting block in this template. But would I be looking at something like this: vfs.fs.size[/tmp,used] but changing tmp for mnt?
In short i want to check all linux (99% are Linux OpenSUSE Leap 15.4) servers if they have a mount in /mnt that the free space of this is greater than n%.
I have not used the macros in a template before to know how to add one, or which ones I can use as a starting block in this template. But would I be looking at something like this: vfs.fs.size[/tmp,used] but changing tmp for mnt?