monit-dev
[Top][All Lists]
Advanced

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

Re: [Possible protocol]


From: Debrard Sébastien
Subject: Re: [Possible protocol]
Date: Thu, 22 Dec 2005 15:15:30 +0100

Le mer 21/12/2005 à 17:34, Martin Pala a écrit :
> This is just documentation misunderstand - i will fix it.
> 
> As explained yeasterday, for example the same http protocol 
> implementation is used for HTTP and HTTPS. SSL is just in the transport 
> layer and is enabled by the 'type tcpssl' option which enables SSL on 
> the socket.
> 

Maybe it could be a new feature in the configuration, a kind of short
cut to use SSL with protocols POP, SMTP, IMAP, etc. 



> 
> Summary:
> --------
> to enable HTTPS test - you have to use:
> 
>   type tcpssl protocol http
> 
> the following syntax is *not* supported by monit currently:
> 
>   protocol https
> 
> 
> Martin
> 
> 
> Debrard Sébastien wrote:
> > Le mer 21/12/2005 à 01:08, Martin Pala a écrit :
> > 
> >>Hi,
> >>
> > 
> > 
> > [..]
> > 
> > 
> >>--8<--
> >>  check host xyzzy with address xyzzy.org
> >>        if failed port 443 type TCPSSL proto http then alert
> >>--8<--
> >>
> > 
> > 
> > The documentation says:
> > "proto(col):PROTO {protocols}. Optionally specify the protocol monit
> > should speak when a connection is established. At the moment monit knows
> > how to speak HTTP, SMTP, FTP, POP, IMAP, MYSQL, NTP3, NNTP, SSH, DWP,
> > LDAP2, LDAP3, RDATE, DNS, POSTFIX-POLICY, APACHE-STATUS and RSYNC and if
> > you have compiled monit with ssl support, monit can also speak HTTPS,
> > FTPS, POPS and IMAPS."
> > 
> > So with your example, the configuration could be:
> > 
> >     check host xyzzy with address xyzzy.org
> >             if failed port 443 proto https then alert
> > 
> > But I didn't find any lines in the source code to do this with the
> > protocols pops, imaps, ftps. It seems to work only whit the protocol
> > https (I didn't test it but I can see it in the file p.y).
> 
> 
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monit-dev





reply via email to

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