Web Content check failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Web Content check failure

Post 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!
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Re: Web Content check failure

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Web Content check failure

Post 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?
Former Nagios employee
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Re: Web Content check failure

Post by akepley »

Yes! Thank you!
Locked