monit-general
[Top][All Lists]
Advanced

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

Re: [Monit± Protocol test on high port returns 404 even if website is pr


From: Tino Hendricks
Subject: Re: [Monit± Protocol test on high port returns 404 even if website is present
Date: Wed, 31 May 2017 15:07:36 +0200

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 <address@hidden>:
> 
> 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] address@hidden:~ $ 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, address@hidden
> 
> receive my key:
> gpg --keyserver zimmermann.mayfirst.org --recv-keys 0x5C6B6ED4248C1F32
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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