Hello Tino, > check host jabber-register-website with address jabber.systemli.org > if failed > port 5281 > type tcpSSL > protocol http > request "/register_web" > for 2 times within 3 cycles > then alert
or this > check host jabber-register-website with address jabber.systemli.org > if failed > port 5281 > type tcpSSL > protocol https > request "/register_web" > for 2 times within 3 cycles > then alert ends up in the same error. But thanks for the hint On 31.05.2017 15:07, Tino Hendricks wrote: > Hi, > > knowing fairly nothing about jabber and register I remember a similar case > where we had to add the type like > > if failed port 8443 type tcpSSL protocol http with timeout 20 seconds… > > Maybe you’d give it a try? > > Best, > > Tino > > >> Am 31.05.2017 um 15:00 schrieb shadow <[email protected]>: >> >> Hello Monit community, >> >> I ran into a monit error, which I can't solve by documentation or bymyself. >> >> I try to monitor a website on a high port with monit. The site is up and >> running, but monit says it's not reachable. >> >> Monit Config >>> check host jabber-register-website with address website.com >>> if failed >>> port 5281 >>> protocol https >>> request "/register_web" >>> for 2 times within 3 cycles >>> then alert >> >> >> Error Message: >>> 'jabber-register-website' failed protocol test [HTTP] at >>> [website.com]:5281/register_web [TCP/IP TLS] -- HTTP error: Server returned >>> status 404 >> >> >> When I curl the website: >> >>> [14:43:45] foo@monitoring:~ $ curl https://website.com:5281/register_web >>> <!DOCTYPE html> >>> <html> >>> <head> >>> <meta charset="utf-8"> >>> <link >>> href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" >>> rel="stylesheet" >>> integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= >>> sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" >>> crossorigin="anonymous"> >>> <script >>> src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" >>> integrity="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= >>> sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A==" >>> crossorigin="anonymous"></script> >> >> What am I doing wrong? >> >> Thanks for your help? >> >> >> -- >> best regards | viele Gruesse, [email protected] >> >> receive my key: >> gpg --keyserver zimmermann.mayfirst.org --recv-keys 0x5C6B6ED4248C1F32 >> >> >> -- >> To unsubscribe: >> https://lists.nongnu.org/mailman/listinfo/monit-general > -- best regards | viele Gruesse, [email protected] receive my key: gpg --keyserver zimmermann.mayfirst.org --recv-keys 0x5C6B6ED4248C1F32
signature.asc
Description: OpenPGP digital signature
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
