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). > (see monit manual for more details) > > > Martin > > > Debrard Sébastien wrote: > > Hi ! > > > > As describes in the documentation, monit with ssl support accepts the > > following protocols: HTTPS, FTPS, POPS and IMAPS (post-it: maybe the dev > > team should add SMTPS). > > > > I think there is probably a mistake because I can't find any references > > to theses protocols in the code source (from the cvs) and monit > > complains when I try to use IMAPS, HTTPS, etc. > > > > Séb. > > > > > > > > _______________________________________________ > > monit-dev mailing list > > monit-dev@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/monit-dev > > > _______________________________________________ > monit-dev mailing list > monit-dev@nongnu.org > http://lists.nongnu.org/mailman/listinfo/monit-dev _______________________________________________ monit-dev mailing list monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev