- edited description
<Service Name> convention
Service names need to be related characters.
I have tried several combinations of special chars to get some usefull service names but none work like a "%" char.
Service names can only be set together with "-" and "_" it would be nice if we could do something like "Server name" instead of "Service_name".
I ended up with service names like:
mailqueue_deferred_above_5000
mailqueue_hold_above_10000
mailqueue_incoming_above_1000
mailqueue_top_spammer_above_5000
Maybe you can give some feedback or ideas up on this. Thanks!
Comments (3)
-
reporter -
I totally agree. The naming scheme is... let's say "a pain" ;)
Even after quoting the names no special characters can be used. I ended up using the pipe
|
as a namespace divider and[
squared brackets]
for type definitions. At least those chars are allowed... -
repo owner - changed status to resolved
Fixed in Monit 5.26.0, snip from changelog:
New: Allow any characters including space in a service name if the name is enclosed in quotes. Example: check process "apache 😍" with pidfile /var/run/httpd.pid
- Log in to comment