Monitoring an HTTPS URL
Monitoring an HTTPS URL
I haven't found any instructions for monitoring and SSL/HTTPS URL using Nagios XI 5.2.0. The site that I am trying to monitor ask to accept the cert before the page will load. Any suggestions?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring an HTTPS URL
Have you tried running the "Website" wizard?
On step 1 you provide the full address, for example: https://www.google.com
On step 1 you provide the full address, for example: https://www.google.com
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Monitoring an HTTPS URL (Untrusted Site)
Yes I used the wizard and enter the URL, The wizard complete and generate a CRITICAL. When I hit the URL via the browser I am presented with the page that states "This Connection is Untrusted" and given the options "Get me out of here!" or "I Understand the Risks". Of course I can trust the site via the browser but the instructions nor the wizard provided a fix for this.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring an HTTPS URL
Can you post some screenshots of this please. I'm not sure if this is an issue with your XI server or the website you are trying to access.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Monitoring an HTTPS URL
Unfortunately I can not provide a screenshot.
Re: Monitoring an HTTPS URL
I usually like to build up HTTP check commands using the command line.
Example: /usr/local/nagios/libexec/check_http -H <hostname.domanname> -u "/start/of/some/url" -S (for https), etc. etc.
That way the command can be tested quickly/easily on the fly, without having to propagate changes, apply-configs, etc.
For your case, my hunch is the -f (follow) argument may be helpful, but I am not certain. In my experience, SSL certs are tricky to work with in regards to monitoring.
Example: /usr/local/nagios/libexec/check_http -H <hostname.domanname> -u "/start/of/some/url" -S (for https), etc. etc.
That way the command can be tested quickly/easily on the fly, without having to propagate changes, apply-configs, etc.
For your case, my hunch is the -f (follow) argument may be helpful, but I am not certain. In my experience, SSL certs are tricky to work with in regards to monitoring.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring an HTTPS URL
Thanks @yo_marc, that would be the next troubleshooting steps we'll need to see, tests from the command line.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.