monit-general
[Top][All Lists]
Advanced

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

Re: [monit] monit does not speak imaps


From: Martin Pala
Subject: Re: [monit] monit does not speak imaps
Date: Tue, 12 Jan 2010 19:56:33 +0100

Hello,

Monit SSL support is generic for TCP checks, there are no special protocol names used, to enable SSL use tcpssl option:

  if failed port 993 type TCPSSL protocol imap then alert

Similarly for other protocols. See more details in manual:
http://www.mmonit.com/monit/documentation/monit.html#connection_testing

Regards,
Martin


On Jan 12, 2010, at 2:52 PM, Marcus Mülbüsch wrote:

Hello all,

  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.

  Now:

  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,

Marcus

more info:

Gentoo-Linux Vserver guest
Kernel: 2.6.22-vs2.2.0.7-gentoo
gcc: i686-pc-linux-gnu-4.3.4

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.


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

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