This is what I have: :~# monit -V This is Monit version 5.6 Copyright (C) 2001-2013 Tildeslash Ltd. All Rights Reserved.
Installed from Ubuntu 14.04 repositories. (I just checked the Ubuntu version and realised it's actually still 14.04, so I'm upgrading it) I report back when I'm done On Fri, Jul 5, 2019 at 8:53 PM [email protected] < [email protected]> wrote: > Please can you check if monit was compiled with SSL? For example: > > $ monit -V > This is Monit version 5.26.0 > Built with *ssl*, with ipv6, with compression, with pam and with large > files > Copyright (C) 2001-2019 Tildeslash Ltd. All Rights Reserved. > > Best regards, > Martin > > > On 5 Jul 2019, at 19:50, Roland Giesler <[email protected]> wrote: > > I have monit installed on Ubuntu 18.04 (some nodes are reporting to > M/Monit), but a few test nodes are not yet and I'm trying to figure out how > to monitor https services. > > Firstly I'm trying to set the ssl option in /etc/monit/monitrc with: > > set ssl options { > verify: disabled > } > > However, when I start monit with > ~# service monit restart > > I get this result: > > * Restarting daemon monitor monit > /etc/monit/monitrc:133: Error: syntax error 'ssl' > > If I comment out the ssl configuration, I get an error at the first https > reference. > > The content: > > check host FishEagle-Production with address 192.168.0.22 > if failed host 192.168.0.22 port 443 protocol https > and request "/login" > with timeout 25 seconds > for 4 times within 5 cycles > then alert > #port 443 protocol https > # if failed port 443 protocol https with ssl options {verify: disable} > then alert > > The resulting error message: > > ~# service monit restart > * Restarting daemon monitor monit > /etc/monit/monitrc:338: Error: syntax error 'https' > > So what could the problem be? How can I check the https services? > > thanks > > Roland > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general > <https://mailtrack.io/trace/link/1fa7cddd43cd6a41a3504ff3e0e3d457e98b23f9?url=https%3A%2F%2Flists.nongnu.org%2Fmailman%2Flistinfo%2Fmonit-general&userId=977006&signature=46e075a285d5038c> > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general > <https://mailtrack.io/trace/link/4216fd9be71fc95da0fc84d777816b34287c8c8c?url=https%3A%2F%2Flists.nongnu.org%2Fmailman%2Flistinfo%2Fmonit-general&userId=977006&signature=c4b9549706ea7f76>
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
