1 Title: HTTP proxies can now be configured globally
10 To enable components to connect to external resources in proxied networks
11 more easily it is now possible to configure several HTTP proxies using the
12 global setting "HTTP proxies".
14 Imagine a scenario where your monitoring server is located in your company
15 internal network and you need to make a connection to a external HTTP server
16 in the internet while you can only connect to this server using a proxy server.
17 In the past the most spread option is to set the HTTP(S)_PROXY environment
18 variables for such a call and hope that the program you use for the connection
19 supports these envrionment variables.
21 Now it is possible to configure the proxies using the GUI in a central place
22 and refer to these settings from different parts of your configuration.
24 These proxies will be usable by e.g. special agents, notification scripts and
25 active checks, which need to use a proxy for their work.
27 As example the pushover notification script has been migrated to support the
28 global proxy settings.
30 Note to notification script developers: You have to name the
31 notification proxy element of the Dictionary parameters valuespec
32 "proxy_url" to make it work as expected with globally configured
35 Note to special agent and active check developers: There is a new
36 function available get_http_proxy(http_proxy). Pass the
37 "http_proxy" value a user configured using the HTTPProxyReference
38 valuespec to this function an you will get back the proxy URL as string
39 or None in case no proxy should be set via command line (see "pydoc
40 cmk_base.check_api.get_http_proxy_for_cmdline" for further information).