If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Try use UserParameter file and item to make this check.
(or direct system.run if you have this option enabled)
It can be something like this:
UserParameter=nfs.check.key,findmnt -nr -o source -T /nameofmountpoint -R | grep somestringintarget > /dev/null && echo 1 || echo 0
This check will return 1 or 0 depends on result if the specific target is mounted to the mount point.
For example, NFS case.
See zabbix documentation for UserParameter or system.run
Comment