in my monitrc the line "if failed port 993 protocol imaps then alert" leads to an error with "monit -t":
"/etc/monitrc:..: Error: syntax error 'imaps'"
(The same is true for https, ftps and pops.)
Now, I'm using gentoo, have set the use-flag "ssl" and thus suspected that monit would be compiled with ssl support. SSL support at least works for the httpd, because I can connect to the web server via TLS.
1) have I made some configuration error?
2) is this a monit error?
3) is this a gentoo error (i.e. should a file a bug report there?)
Any idea how I can test it?
Thanks for help,
Gentoo-Linux Vserver guest
tested with both monit-4.10.1 (latest gentoo stable) and monit-5.0.3
And in reality this snippet is not in the main monitrc, but in its own file that is referenced by an include statement.