<div dir="ltr">Rich<div><br></div><div>All of the SSL checks are enabled by default, so yes, probably related. However check the command-line parameters for xymonnet (in tasks.cfg) to ensure you don't have "--no-ssl" or something like that. I suspect the "400" response code indicates a problem that is also preventing Xymon from processing the certificate.</div><div><br></div><div>Check the web servers' logs to see if they are reporting a fault from the Xymon probe, which might give clues to the cause of the problem.</div><div><br></div><div>Can you provide the exact message that Xymon shows? It may indicate which part of the code is reporting the error, and hence the problem that's triggering it. And what version of Xymon did you upgrade to?</div><div><br></div><div>It might be worth running xymonnet with the "--debug" option, to see if it shows more detail in the xymonnet.log file. You can do some reasonably painless diagnostics by running xymonnet from the command-line, like so:</div><div><br></div><div>echo "1.2.3.4 <a href="http://someurl.com">someurl.com</a> # <a href="https://someurl.com">https://someurl.com</a> COMMENT:somecomment" | ( HOSTSCFG=/dev/stdin /usr/lib/xymon/server/bin/xymonnet --debug --no-update --noping --dns=ip )</div><div><br></div><div>This will show you everything xymonnet is doing, but it will only test as per the details in the "echo" command, and it will report its result to you rather than updating the status in Xymon.</div><div><br></div><div>Note that, even though --dns=ip is set here, xymonnet still performs a DNS lookup against the hostname part of the URL to determine where to connect. The debug output will show this. You can force it to connect to a different IP address by using a URL such as <a href="https://someurl.com">https://someurl.com</a>=1.2.3.99.</div><div><br></div><div>J </div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On 8 November 2017 at 04:16, Richard Jones <span dir="ltr"><<a href="mailto:rich@corporationpop.co.uk" target="_blank">rich@corporationpop.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Have finally got around to upgrading our Xymon installation, mostly all good (still some plugins and extensions to add in), however I'm seeing a strange issue where the http test is returning a HTTP/1.1 400 Bad Request for all sites using https. This used to work in our previous (admittedly VERY out-of date) instance. Any ideas?</div><div><br></div><div>Hosts.cfg looks something like this for the affected rows:</div><div><br></div><div>1.2.3.4   <a href="http://someurl.com" target="_blank">someurl.com</a>  # <a href="https://someurl.com" target="_blank">https://someurl.com</a> COMMENT:somecomment</div><div><br></div><div>While I'm at it, I can't recall how to get the ssl certificate test to work and show the expiry dates, is this related?</div><div><br></div><div>Cheers, Rich</div><div><div><div class="gmail-m_-2628078030735834635gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/<wbr>mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div></div>