Skip to content

Use a proxy server for the PagerDuty transport.#12294

Merged
Jellyfrog merged 2 commits intolibrenms:masterfrom
abrezinsky:origin/pagerduty-proxy-server
Nov 4, 2020
Merged

Use a proxy server for the PagerDuty transport.#12294
Jellyfrog merged 2 commits intolibrenms:masterfrom
abrezinsky:origin/pagerduty-proxy-server

Conversation

@abrezinsky
Copy link
Copy Markdown
Contributor

@abrezinsky abrezinsky commented Nov 4, 2020

PagerDuty transport doesn't support proxy servers. This adds support for that.

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

We don't use the get_guzzle_proxy() function since tcp:// doesn't work
with all of the HTTP transports that Guzzle supports.  Instead we use
the standard get_proxy() function.

Tested against Squid
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 4, 2020

CLA assistant check
All committers have signed the CLA.

@abrezinsky abrezinsky marked this pull request as ready for review November 4, 2020 05:56
@Jellyfrog Jellyfrog merged commit 240edd2 into librenms:master Nov 4, 2020
@murrant
Copy link
Copy Markdown
Member

murrant commented Dec 2, 2020

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/v1-69-release-changelog-november-2020/14124/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants