From: Lisa Marie Maginnis Date: Wed, 28 May 2014 19:36:25 +0000 (-0400) Subject: Fixed mixup between SSL and http checks X-Git-Url: https://vcs.fsf.org/?p=nagios-scripts.git;a=commitdiff_plain;h=4b92d3e2595583669ee0841a50c9c4cdd000f7c8 Fixed mixup between SSL and http checks --- diff --git a/nagios-website-add.sh b/nagios-website-add.sh index 86bbb17..d632cdb 100755 --- a/nagios-website-add.sh +++ b/nagios-website-add.sh @@ -35,7 +35,7 @@ function set-http-params() { } function set-https-params() { - set-params 'http-vhost' "SSL Cert: $1" $2 "check_http_vhost2!$2!$1" + set-params 'http-vhost' "SSL Cert: $1" $2 "check_ssl_cert!$1" } function set-awstats-params() { @@ -143,7 +143,7 @@ else # www CNAME, special request :D if [ $www -eq 1 ]; then - set-https-params www.$website $host + set-http-params www.$website $host write-config-body >> $config_file_web fi