projects
/
nagios-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b7336
)
Fixed mixup between SSL and http checks
author
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 19:36:25 +0000
(15:36 -0400)
committer
Lisa Marie Maginnis
<lisam@fsf.org>
Wed, 28 May 2014 19:36:25 +0000
(15:36 -0400)
nagios-website-add.sh
patch
|
blob
|
blame
|
history
diff --git
a/nagios-website-add.sh
b/nagios-website-add.sh
index 86bbb17d21034e64affbd12b3860c304edfdbd60..d632cdbe6ecba3620f4159fcee983decc885453b 100755
(executable)
--- 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-http
s
-params www.$website $host
+ set-http-params www.$website $host
write-config-body >> $config_file_web
fi