DX NetOps

 View Only
  • 1.  Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

    Posted Nov 13, 2014 10:35 AM

    Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

     

    CA Spectrum Technical Tip by Joe Ackley, Principal Support Engineer

     

    Description: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

     

    Solution: Yes, this can be changed with a modification to the OneClick xml files that control this function.

    Out of the box, alarms on models within a container model will roll up threshold values to the container and depending on the rollup values on the model alarming and threshold values set on the contianer model, a rollup alarm will be displayed on the contianer model as an upside down triangle to indicate a rollup threshold alarm exists. The following is a screen shot of the out of the box rollup:

    RollUpTriangle.png

     

    The oneclick-container-iconbase-config.xml and oneclick-container-iconbase-image-config.xml files located in the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config directory can be modified to accomplish this. When complete, the entire container model will change to the roll up condition color. The following is a screen shot of the rollup after the change:

     

    RollUpEntire.png

     

    NOTE: Doing this may confuse some users into thinking the container is in an alarm status.

     

    The attached oneclick-container-iconbase-config.xml and oneclick-container-iconbase-image-config.xml files can be placed in the $SPECROOT/custom/topo/config directory of the OneClick server to achieve this. After copying these files to the $SPECROOT/custom/topo/config directory, users will have to log out and then log back into OneClick in order to see this change. This is a global change and will affect all users logging into OneClick.



  • 2.  Re: Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

    Posted May 30, 2018 10:06 AM

    Hello, thanks for the tip, really helpfull

    However, this work fine within the console, but from the webclient the icons are not showing anymore.

    Is there something I need to adjust ? 

    Thanks, regards

    Laurent



  • 3.  Re: Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

    Broadcom Employee
    Posted May 30, 2018 10:22 AM

    Hi Laurent,

    The webclient isn't using the same config as the OC client as they are built on different programming languages. You might be able to do something in the webclient/topology.tsp file, but I'm not entirely sure.  I think this would be an enhancement.

    Cheers

    Jay



  • 4.  Re: Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

    Posted May 30, 2018 10:49 AM

    Hello Jason, thanks for the reply. I just had a look at the topology.tsp :-( I won't modify it...

    I suppose there's no way to modifiy the OC behavior without impacting the webclient

    Kind regards

    Laurent 



  • 5.  Re: Technical Tip: Can the container alarm rollup in Spectrum be changed to alarm on the entire container model instead of just the upside down triangle?

    Broadcom Employee
    Posted Aug 10, 2018 05:12 AM
      |   view attached

    Through Laurent´s request, Engineering have now made this customization available for WebClient.  Please find the steps below along with the files required attached (modified files.zip).  Please note that these customization's are not permanent and may require a redeployment after an upgrade in Spectrum.

     

    The customization for WebClient for the ability to change the container when it alarms so that entire container changes color, as it is done in OneClick.
    This can be achieved by changing following files:
    1. oneclick-container-iconbase-config.xml
    - $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config
    - replace the existing file with the file provided in the attachment
    - logout from OneClick and log in back.
    2. oneclick-container-iconbase-image-config.xml
    - $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config
    - replace the existing file with the file provided in the attachment
    - logout from OneClick and log in back.
    3. Topology.tsp
    - $SPECROOT/tomcat/webapps/Spectrum/webclient/project
    - For making changes in Topology.tsp file:
    - open the file in notepad editor
    -search for the following text -
    <attribute name="ShowRollup" value="$isNotNull(&lt;RollUpIcon&gt;)"/>
    - Replace the above text with-
    <attribute name="ShowRollup" value="false"/>
    - After doing this change save the file.
    - Restart OneClick tomcat.

    Attachment(s)

    zip
    modified files.zip   2 KB 1 version