Monitor mounts on fstab
First Step- You will need put the user parameter below in your zabbix_agent.conf
UserParameter=vfs.fs.mounted[*],findmnt -nr -o source -T $1 > /dev/null && echo 0 || echo 1
this parameter will return if the mount point is OK
Second Step - Import the template
Third Step - Change the Item Key, You need put your mount point, like the exemple below.
ex: vfs.fs.mounted[put your mounte point here]
Listing Details
Type
OS
Min Zabbix version
2.2.x
Features
Created
Modified
Version 3.4
Download (883 downloads)
1 version, '2018-05-28 18:00' modified
1 version, '2018-05-28 18:00' modified
Author
Rodrigo Américo
Owner