You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
675 B
29 lines
675 B
apply Service "Zertifikat: " for ( vhost => config in host.vars.vhosts ) to Host {
|
|
import "generic-service"
|
|
|
|
check_command = "http"
|
|
|
|
vars.http_link = true
|
|
vars.http_certificate = 80
|
|
vars.http_sni = true
|
|
vars.http_address = host.address
|
|
|
|
vars += config
|
|
|
|
assign where host.vars.vhosts[vhost]["http_ssl"]
|
|
}
|
|
|
|
apply Service "HTTP(S): " for ( vhost => config in host.vars.vhosts ) to Host {
|
|
import "generic-service"
|
|
|
|
check_command = "http"
|
|
|
|
vars.http_link = true
|
|
|
|
vars += config
|
|
|
|
vars.http_address = host.address
|
|
|
|
assign where host.vars.vhosts[vhost]["http_uri"] || host.vars.vhosts[vhost]["http_string"] || host.vars.vhosts[vhost]["http_pagesize"]
|
|
}
|
|
|
|
|