How to setup webproxy for NetXMS

Started by mohit2903, September 07, 2016, 01:54:40 AM

Previous topic - Next topic

mohit2903

Hi, I am trying to monitor external urls using service check but it fails for external urls and works for internal urls.

For external browing we use TMG proxy. Is it possible to configure web browser proxy settings in NetXMS configuration?

Also geo maps doesn't work possibly due to same reason because of proxy?

Can someone please through some light and help?

Lotfi

i configured Proxy IP address in general for the computer, (Control panel, Internet Options) to download geo maps.

mohit2903

Thanks for your swift response, I tried that option however it still doesn't work :(

Anything else to configure within NetXMS?

Victor Kirhenshtein

Hi,

for geo maps you have to configure proxy in console settings (File -> Preferences -> HTTP Proxy).

What subagent you are using for HTTP service check? If you are using netsvc, which is built on libcurl, you can set environment variable http_proxy. Format description from libcurl manual:

The proxy environment variable contents should be in the format "[protocol://][user:password@]machine[:port]". Where the protocol:// part is simply ignored if present (so http://proxy and bluerk://proxy will do the same) and the optional port number specifies on which port the proxy operates on the host. If not specified, the internal default port number will be used and that is most likely *not* the one you would like it to be.

Best regards,
Victor




mohit2903

Thanks Victor for your swift response and help.

I cannot find the netsvc and libcurl. I am running NetXMS on Windows Server.

Also geo maps are now working however from console session only, is there a way to make it work from NetXMS webserver url?

Also is there anyway to check SSL expiration date?

Victor Kirhenshtein

Problem with geo maps in web UI is that they actually downloaded by application server, not by client browser. You can set HTTP proxy settings for application server's JVM (for example, by adding -Dhttp.proxyHost=host -Dhttp.proxyPort=port to JVM command line in application server startup script).

Best regards,
Victor