DX Unified Infrastructure Management

 View Only
  • 1.  Proxy server for messagegtw probe

    Posted Mar 13, 2025 02:54 AM

    Hi, 

    The messagegtw probe need to call API which requires internet access. The internet needs to be accessed via proxy server. Is it possible to define proxy settings in messagegtw probe? If so, where?

    Thanks 

    Anu



  • 2.  RE: Proxy server for messagegtw probe

    Broadcom Employee
    Posted Mar 19, 2025 10:37 AM

    Hi Anupama,

    There is no direct probe configuration support to use Proxy. However you may try JVM Arguments to define proxy.

    -DproxySet=true -Dhttp.proxyHost=PROXY_IP -Dhttp.proxyPort=PROXY_PORT -Dhttps.proxyHost=PROXY_IP -Dhttps.proxyPort=PROXY_PORT

    Open Raw Configure of messagegtw probe and update startup/opt/java_opts parameter with above string value at the end of the configuration (you need to replace PROXY_IP & PROXY_PORT with actual proxy IP address and port).

    Config Sample:

    <startup>
       <opt>
          java_opts = -server -XX:ErrorFile=./hs_err_pid.log -DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8080
          java_mem_max = -Xmx1024m
          java_mem_init = -Xms64m
       </opt>
    </startup>

    Rgds,

    Rajesh B 




  • 3.  RE: Proxy server for messagegtw probe

    Posted Mar 19, 2025 10:01 PM

    Hi Rajesh, 

    Thank you so much. That helps.

    Regards

    Anu