From 4b92d3e2595583669ee0841a50c9c4cdd000f7c8 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Wed, 28 May 2014 15:36:25 -0400 Subject: [PATCH] Fixed mixup between SSL and http checks --- nagios-website-add.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1