Hello, please upgrade monit, the problem was fixed in 5.23.0, snip from changelog:
Fixed: Issue #603: Support existence/nonexistence test for filesystem check Best regards, Martin > On 9 Jan 2018, at 17:40, monit-general-boun...@nongnu.org wrote: > > The attached message has been automatically discarded. > From: "Haarhoff, Daniel" <haarh...@ip.rwth-aachen.de> > Subject: Repo unavailable // does not exist syntax error > Date: 9 January 2018 at 17:40:08 CET > To: "monit-general@nongnu.org" <monit-general@nongnu.org> > > > Hiya list, > > I just ran into an a unexpected syntax error: > > check filesystem storage with path /storage > if does not exist then exec "zpool import storage && zfs mount -a" > if space usage > 80% then alert > > While the second 'if' has been working fine for months, the first 'if' gives > me a: > > syntax error 'not' > > I am running monit 5.20.0 on Debian stretch. > > Any ideas are welcome ^^ > > > I originally intended to post an issue on bitbucket. But when trying to > access https://bitbucket.org/tildeslash/monit/ I get "Repository unavailable". > > Is this on purpose? Bitbucket issue? > > Cheers, > Daniel > > >
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general