Hi,
I can't get web monitoring working behind our proxy.
I setup /etc/profile on Zabbix server as follows:
export https_proxy=http://ssl-cache.local:8080
export http_proxy=http://www-cache.local:8080
export ftp_proxy=http://ftp-cache.local:8080
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$https_proxy
export FTP_PROXY=$ftp_proxy
export NO_PROXY=localhost,127.0.0.1,172.*,192.168.202.*
This works fine using curl on the command line, but Zabbix doesn't seem to make use of it. I can monitor Zabbix Server just fine but not e.g. google.de
Can you please confirm that I can set the env variables and zabbix makes use of it. The libcurl manual says:
NOTE: libcurl respects the following environment variables:
http_proxy, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY, ALL_PROXY, NO_PROXY
If any of those is set, they they will be used by the library for the appropriate protocols.
The tCurl.Proxy property, if set, overrides the environment variables.
Note also that reading this property does not reflect the state of environment.
Please help I have been trying the whole day to get this working....
I can't get web monitoring working behind our proxy.
I setup /etc/profile on Zabbix server as follows:
export https_proxy=http://ssl-cache.local:8080
export http_proxy=http://www-cache.local:8080
export ftp_proxy=http://ftp-cache.local:8080
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$https_proxy
export FTP_PROXY=$ftp_proxy
export NO_PROXY=localhost,127.0.0.1,172.*,192.168.202.*
This works fine using curl on the command line, but Zabbix doesn't seem to make use of it. I can monitor Zabbix Server just fine but not e.g. google.de
Can you please confirm that I can set the env variables and zabbix makes use of it. The libcurl manual says:
NOTE: libcurl respects the following environment variables:
http_proxy, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY, ALL_PROXY, NO_PROXY
If any of those is set, they they will be used by the library for the appropriate protocols.
The tCurl.Proxy property, if set, overrides the environment variables.
Note also that reading this property does not reflect the state of environment.
Please help I have been trying the whole day to get this working....
Comment