All Apps and Add-ons

Website Monitoring: Set Proxy Passwords for Multiple Proxies

bimord
Path Finder

I have multiple proxies each with different requirements and credentials.
How do I add passwords when the website_monitoring.conf file proxy_password field is deprecated?

[default]
proxy_port = 3128
proxy_server = proxy.aipo.gov.au
proxy_type = http
thread_limit = 200
proxy_user = user

[bluecoat_proxy]
proxy_port = 8080
proxy_server = proxy-bc-vipfv.aipo.gov.au
proxy_type = http
thread_limit = 200
proxy_user = user2
password = password2

When setting password through the UI, it does not store the password field in the .conf file for the first input (as above) but I can't use the UI to edit the other proxies.
@LukeMurphey please help!

0 Karma
1 Solution

LukeMurphey
Champion

The password is stored in secure storage by the UI in order to increase. That said, the proxy passwords will still be loaded from the .conf files if they are defined.

I think the best way to address this is by defining your proxies in website_monitoring.conf as documented here: https://lukemurphey.net/projects/splunk-website-monitoring/wiki/Using_multiple_proxies.

Make sure to add proxy_user and proxy_password to the website_monitoring.spec file (that isn't shown in the example in the link above, but it is supported).

View solution in original post

LukeMurphey
Champion

The password is stored in secure storage by the UI in order to increase. That said, the proxy passwords will still be loaded from the .conf files if they are defined.

I think the best way to address this is by defining your proxies in website_monitoring.conf as documented here: https://lukemurphey.net/projects/splunk-website-monitoring/wiki/Using_multiple_proxies.

Make sure to add proxy_user and proxy_password to the website_monitoring.spec file (that isn't shown in the example in the link above, but it is supported).

bimord
Path Finder

Turns out the Windows account that we were using didn't have permission to use the proxy... Once that access was added - your instructions worked swimmingly 🙂

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...