DX Unified Infrastructure Management

 View Only
  • 1.  Add a HTML page in WebContent portlet in UMP

    Posted Dec 20, 2016 01:24 AM

    Hi Team,

     

    How to add a HTML page in WebContent portlet in UMP from other than /ROOT/html directory.

     

    Regards,

    Anuj



  • 2.  Re: Add a HTML page in WebContent portlet in UMP

    Broadcom Employee
    Posted Dec 20, 2016 07:58 AM

    Most webserver have a document root were content lives. The location  you mention is the correct one for UMP.

    Can you provide more details why you need it to be in a different location?



  • 3.  Re: Add a HTML page in WebContent portlet in UMP

    Posted Dec 20, 2016 11:57 PM

    Hi Gene,

     

    I am trying to use Probe of things in our environment - Probe of Things - A Custom Probe That Does Things, and so need to access the URL of this probe, that is \Program Files(x86)\Nimsoft\probes\system\probe_of_things\reports\index.html but while using this URL in the UMP, it is unable to access this as it is outside the ROOT directory.

    I have also tried this in Custom Dashboard, however unable to access this.

     

    Regards,

    Anuj



  • 4.  Re: Add a HTML page in WebContent portlet in UMP
    Best Answer

    Posted Dec 21, 2016 02:11 AM

    If you create a .bat file to execute all "probe of things" callbacks you can add at the end:

    xcopy /Y /E /I "C:\Program Files (x86)\Nimsoft\probes\system\probe_of_things\reports\*.*" "C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\userreports"

    (you have to create this "userreports" subdirectory once)

    In USM you can now use: http://ump_name/userreports/index.html



  • 5.  Re: Add a HTML page in WebContent portlet in UMP

    Posted Dec 23, 2016 12:21 AM

    Hi Luc,

     

    Thank you for your solution!!