diff --git a/nagios.pl b/nagios.pl index 6c8a13f..8f22863 100644 --- a/nagios.pl +++ b/nagios.pl @@ -99,6 +99,7 @@ my $ua = LWP::UserAgent->new; $ua->timeout(15); +$ua->env_proxy; my $req = POST("https://${opt_domain}/services/hooks/nagios?token=${opt_token}", \%event);