diff --git a/LibreNMS/Alert/Transport/Pagerduty.php b/LibreNMS/Alert/Transport/Pagerduty.php index 3b65c6cd40..a9d6ce79f3 100644 --- a/LibreNMS/Alert/Transport/Pagerduty.php +++ b/LibreNMS/Alert/Transport/Pagerduty.php @@ -70,8 +70,11 @@ class Pagerduty extends Transport $url = 'https://events.pagerduty.com/v2/enqueue'; $client = new Client(); + $request_opts = ['json' => $data]; + $request_opts['proxy'] = get_proxy(); + try { - $result = $client->request('POST', $url, ['json' => $data]); + $result = $client->request('POST', $url, $request_opts); if ($result->getStatusCode() == 202) { return true;