I just tried to give a service a somewhat more legible name containing a whitespace and realised that it is not allowed:
check host "Test Host" host with address 192.168.10.140
if failed ping then alert
When reloading monit, it says:
/etc/monit.d/test.conf:1: unbalanced quotes '"'
/etc/monit.d/test.conf:1: syntax error 'Host'
Same with single quotes.
How can I insert a whitespace into a service name?
Kind regards,
rexkogitans