git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel@9465
1ed66053-1c2d-0410-8867-
f7571e6e31d3
else{
## ipv6 Check
## Wget Comand Check
- my $command = "/usr/bin/wget " . "-t 1 --timeout $v->{negotiatetimeout} ". $r->{url} . ' > /dev/null 2>&1';
+ my $https_option = '';
+ if ( $v->{service} eq 'https'){
+ $https_option = '--no-check-certificate';
+ }
+ my $command = "/usr/bin/wget " . "-t 1 --timeout $v->{negotiatetimeout} $https_option ". $r->{url} . ' > /dev/null 2>&1';
if( system_wrapper( $command )) {
ld_log( _message( 'WRN1103', 'web', $r->{server}{ip}, $port ) ) if (!defined $status || $status eq $SERVICE_UP);
return $SERVICE_DOWN;