- changed status to resolved
Existence tests of filesystem service is a syntax error
Issue #603
resolved
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
Comments (2)
-
repo owner -
@Tildeslash I am doing filesystem existence test on RPi Compute module. I am still getting this error, how can I upgrade monit to solve this?
- Log in to comment
Fixed: Issue
#603: Support existence/nonexistence test for filesystem check.→ <<cset 1c209468068b>>