You can try to use netsvc subagent instead (which is libcurl based) and set http_proxy variable before starting agent. It's a bit ugly, but should work.
Details on netsvc: https://www.netxms.org/forum/configuration/servicecheck-http-2780/msg12143/#msg12143
A bit details on libcurl proxy support: http://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
Another option is to use configure external parameter using curl / wget:
Then use it like this:
Details on netsvc: https://www.netxms.org/forum/configuration/servicecheck-http-2780/msg12143/#msg12143
A bit details on libcurl proxy support: http://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html
Another option is to use configure external parameter using curl / wget:
Code Select
ExternalParameter=CheckHTTPWithProxy:curl -o /dev/null -s -x http://proxyhost:3128 $1; echo $?Then use it like this:
Code Select
nxget localhost 'CheckHTTPWithProxy(https://www.google.com/)'