Using the following monitrc
check filesystem nfs-mount with path "192.168.39.20:/mnt/test" if not exist then exec "/usr/bin/mount /root/test"
The documentation says, "It is supported for process, file, directory, filesystem and fifo services." However, I get an error "/etc/monit.d/nfs-mount.conf:2: syntax error 'not'" in the case of filesystem service
Using Monit 5.22.0 (downloaded from the mmonit/monit page) on CentOS 7.3.1611