DX NetOps

  • 1.  Dynamically modify the alarm view

    Posted Dec 01, 2017 06:02 AM

    Hi,

    Does any one know about how to modify alarm view in dynamically. Previously I am trying to made changes on xml files(/usr/Spectrum/custom directory).Is there any way to populate alarm view in dynamically?

     

    Thanks,

    Geetika



  • 2.  Re: Dynamically modify the alarm view

    Broadcom Employee
    Posted Dec 01, 2017 07:31 AM

    Hi,

                    Can you please be more specific?  What are you trying to do?  What are you trying to populate?

    Thank you

    Jay



  • 3.  Re: Dynamically modify the alarm view

    Posted Dec 04, 2017 02:22 AM

    How to populate the data dynamically   in customized columns. If I add one custom column in the alarm view and how do I populate the value of that column in dynamically.

     

    Thanks,

    Geetika



  • 4.  Re: Dynamically modify the alarm view

    Broadcom Employee
    Posted Dec 04, 2017 05:10 AM

    Hi Geethika,

     

    This is pretty much covered here under OneClick Alarm Customizations.

     

    Customizing OneClick Alarms - CA Spectrum - 10.2 to 10.2.2 - CA Technologies Documentation 

     

    Unless you are wanting to add custom alarm attributes to the Global Alarm model to be displayed in the table then you would need to go through Model Type Editor (MTE).

     

    Best regards,

    Glenn



  • 5.  Re: Dynamically modify the alarm view

    Posted Dec 05, 2017 09:33 AM

    Thanks for your reply Glenn,

    I have followed the steps which was given in that above link.The custom column was appeared,however the field values couldn't  shown in alarm view.

    I have add the attribute value in Global Alarm model type using model type editor. And made changes in alarm-table-config.xml file by copying the default alarm-table-config.xml to <$SPECROOT>/custom/alarm/config directory.

    - Below is the code added in alarm-table-config.xml file.

    <column-list>
    <column idref="TopologyModelNameString">
    <default-width>75</default-width>
    </column>

     

    - view-alarmdetails-config.xml :

    <subviews>

    <field-subview>
    <field-column>

    <column idref="TopologyModelNameString"/>

    </field-column>

    </field-subview>

     </subviews>

     

    - Created TopologyModelNameString.xml file and it contains:

     

    <name>----------</name>

    <content>
    <attribute>0x-----</attribute>
    </content>

     

    Please give any help to get the correct output.

     

    Thanks,

    Geetika