Page 1 of 1

https URL monitoring

Posted: Wed Aug 12, 2015 8:40 am
by avijit_bhardwaj
Hi,
I am using the default website URL monitoring plugin for http URL. Wanted to check how can I monitor https URL. Can this default plugin be used for https as well?

XI version: Nagios XI 2014R2.7

Re: https URL monitoring

Posted: Wed Aug 12, 2015 9:17 am
by hsmith
avijit_bhardwaj wrote:Hi,
I am using the default website URL monitoring plugin for http URL. Wanted to check how can I monitor https URL. Can this default plugin be used for https as well?

XI version: Nagios XI 2014R2.7
Have you tried the -S option?

Code: Select all

/usr/local/nagios/libexec/check_http -H www.somewebsite.com -S

Code: Select all

 -S, --ssl=VERSION
    Connect via SSL. Port defaults to 443. VERSION is optional, and prevents
    auto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3).