Quoting the path should work. Verified and tested with Monit 5.6. E.g. check file x with path "/mnt/user/James Shows" ...
> Den 3. okt. 2013 kl. 03:58 skrev James Alton <[email protected]>: > > I run an unraid server that aggregates top level directories on harddrives > into "shares", which basically act as drives. I'm trying to set Monit up to > monitor the available disk space for these shares which works well for most > shares. The path looks something like: > /mnt/user/apps > > If the path has a space, Monit fails to start giving the error "syntax error > 'Shows' > > This happens when trying to add the path: > /mnt/user/James Shows > > I have tried to escape the space as such: > /mnt/user/James\ Shows > > I have also tried using quotes: > "/mnt/user/James Shows" > > Is there any way to add a path with a space or is this a bug that needs to be > resolved? > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
