|
From: | James Alton |
Subject: | Re: Space in path results in error |
Date: | Thu, 3 Oct 2013 23:51:28 -0400 |
Quoting the path should work. Verified and tested with Monit 5.6. E.g.check file x with path "/mnt/user/James Shows" ...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/appsIf 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 ShowsI have tried to escape the space as such:/mnt/user/James\ ShowsI 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
[Prev in Thread] | Current Thread | [Next in Thread] |