Update monitolite.pl
This commit is contained in:
parent
5b87f3c580
commit
a49f577dae
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ sub check_http {
|
||||||
$host = 'http://'.$host if ($host !~ m/^http/i);
|
$host = 'http://'.$host if ($host !~ m/^http/i);
|
||||||
|
|
||||||
my $check = LWP::UserAgent->new(
|
my $check = LWP::UserAgent->new(
|
||||||
ssl_opts => { verify_hostname => 0 },
|
ssl_opts => { verify_hostname => 1 },
|
||||||
protocols_allowed => ['http', 'https']
|
protocols_allowed => ['http', 'https']
|
||||||
);
|
);
|
||||||
$check->timeout(5);
|
$check->timeout(5);
|
||||||
|
|
Loading…
Add table
Reference in a new issue