Page 1 of 1

Web Content check failure

Posted: Fri May 16, 2014 9:49 am
by akepley
Hello,

Installation: 2014R1.0

We just upgraded our web sites to use a SAN Certificate solution so that we can put multiple domains in the Sub Alternative naming of the certificate. Unfortunately, our "check_xi_service_http!" service to find text on the page is failing now because it appears Nagios is reaching a certificate untrusted page instead of the home page of the website. Our websites force rewrite to https. Does Nagios have a way to ignore the certificate untrusted warnings and get to the page?

Thanks!

Re: Web Content check failure

Posted: Fri May 16, 2014 11:14 am
by akepley
As a test, I would like to see what nagios is hitting when it does the check_http to see what page it is getting to. Any way to test what content it is seeing when doing the check_http?

Re: Web Content check failure

Posted: Fri May 16, 2014 11:17 am
by tmcdonald
akepley wrote:Any way to test what content it is seeing when doing the check_http?
You can run a tcpdump and look for the HTTP reply.

As far as the cert warning, I think it is more likely you are hitting a redirect. Does adding "-f follow" help at all?

Re: Web Content check failure

Posted: Fri May 16, 2014 2:37 pm
by akepley
Yes! Thank you!