NetXMS Support Forum

English Support => General Support => Topic started by: mohit2903 on September 07, 2016, 01:54:40 AM

Title: How to setup webproxy for NetXMS
Post by: mohit2903 on September 07, 2016, 01:54:40 AM
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?
Title: Re: How to setup webproxy for NetXMS
Post by: Lotfi on September 07, 2016, 09:56:01 AM
i configured Proxy IP address in general for the computer, (Control panel, Internet Options) to download geo maps.
Title: Re: How to setup webproxy for NetXMS
Post by: mohit2903 on September 08, 2016, 02:26:45 AM
Thanks for your swift response, I tried that option however it still doesn't work :(

Anything else to configure within NetXMS?
Title: Re: How to setup webproxy for NetXMS
Post by: Victor Kirhenshtein on September 08, 2016, 08:54:59 AM
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



Title: Re: How to setup webproxy for NetXMS
Post by: mohit2903 on September 16, 2016, 05:50:00 AM
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?
Title: Re: How to setup webproxy for NetXMS
Post by: Victor Kirhenshtein on September 28, 2016, 05:56:36 PM
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