monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Space in path results in error


From: James Alton
Subject: Space in path results in error
Date: Wed, 2 Oct 2013 21:58:55 -0400

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]