All Apps and Add-ons

PagerDuty Alerts for Splunk: Can the pagerduty.py script be modified to include a section that allows the entry of a web proxy?

New Member

Hello,

We are attempting to use the PagerDuty Alerts for Splunk app with our Splunk instance. We currently have our Splunk instance on a Linux server that uses a web proxy. We are able to curl to the events url from the pagerduty.py script successfully when including the proxy in the curl command, but not without.

Can the python script be modified to include a section that allows for the entry of a proxy when one is being used? If so, will you be providing an updated release to accommodate this?

Thanks

0 Karma

New Member

Hello,

Ryan from the PagerDuty support team here. You may want to try our new integration that uses the native Splunk webhooks as it may work with a proxy (https://www.pagerduty.com/docs/guides/splunk-beta-integration-guide/).

We're also in the process of creating a new integration with Splunk. If you'd be interested in testing it when it's released you can apply here: https://beta.pagerduty.com.

Lastly, since the script that you reference uses the urllib2 library, it could be modified to use a proxy. The code required for such a change would be similar to another integration of ours: https://gist.github.com/ryanhoskin/202a1497c97b0072a83a#file-pd-zabbix-proxy-py-L89-L97.

Please give one of these options a shot and if you have any issues you can reach us at support@pagerduty.com.

Best regards,
Ryan

0 Karma