DX NetOps

 View Only
Expand all | Collapse all

Customize tables Alarms

  • 1.  Customize tables Alarms

    Posted Apr 11, 2017 07:12 PM

    Good Morning !
    I am customizing my CA Spectrum alarm tab, and I would like to add a button to list the contents of the "SRM" attribute according to the image below, I also put an image as an example of how I would like this field to appear inside the alarms, An idea of how to do it?

     

    I found this document and applied, but I did not succeed for the alarm tab!

     

    https://docops.ca.com/ca-spectrum/9-4-1-to-9-4-4/en/customizing/oneclick-customization/customizing-oneclick-tables

     

     

     

    I would like this example to appear within the "SRM"

     

    thank you.



  • 2.  Re: Customize tables Alarms

    Broadcom Employee
    Posted Apr 11, 2017 08:55 PM

    Hi Robson,

     

    What alarm attribute does the "SRM" column refer to?

     

    To add a new column in the Alarm View you may have followed this KB document: 

    TEC1525456 - Adding columns to OneClick Alarm View

     

    To make the new column editable you have add the 

    <editable/>

    in the column section.



  • 3.  Re: Customize tables Alarms

    Posted Apr 12, 2017 07:37 AM

    Good morning, Silvio, how are you?
    The "SRM" attribute I created in the Spectrum!
    And this field contains some text in it, and I would like it when I click on it on the alarm tab to list the data it contains within the attribute!



  • 4.  Re: Customize tables Alarms

    Broadcom Employee
    Posted Apr 12, 2017 03:04 PM

    Hi Robson,

     

    I successfully added a new Editable column for the custom Global Alarm attribute in the Alarm view by adding the <editable/>  row in the alarm-table-config.xml file.

     

     

    Here are the steps:

     

    1. Stop the SpectroSERVER and create a custom Global Alarm attribute called Alarm Notes via MTE. Take note of the new Attribute ID (in my case is 0xffff0004), save the change and start the SpectroSERVER.

     

    2. Create the $SPECROOT/custom/alarm/config/alarm-table-config.xml file in the OneClick web server machine as follow:

     

    3. Launch the OneClick console again and generate a new alarm. You should see the set link to edit the Alarm Notes field/column for the new alarm. You won't see the set link for the old alarms.

     

    Hope this help.

     

    Regards,

    Silvio



  • 5.  Re: Customize tables Alarms

    Posted Apr 13, 2017 07:10 AM

    Good morning Silvio, alright Thanks for the help, I was able to do the editable field, I just needed to edit the attribute for global alarms, thank you very much, it helped a lot.



  • 6.  Re: Customize tables Alarms

    Posted Feb 07, 2018 04:19 PM

    Good afternoon Silvio Robsonbadam Your answer was very useful to solve my problem, but can you help me with my concern? I need the same thing but you can create the attribute in the "List" tab, as it is represented in the following image:

     

    TX



  • 7.  Re: Customize tables Alarms

    Posted Feb 08, 2018 06:15 AM

    Good Morning !

    jdadoco to add the attribute you want in the List tab, take a look at this TECDOC.

     

    https://support.ca.com/us/knowledge-base-articles.TEC607265.html



  • 8.  Re: Customize tables Alarms

    Posted Feb 08, 2018 08:13 AM

    Silvio Robsonbadam

     

    It is exactly what I was looking for.

     

    Thank you very much for all your help.



  • 9.  RE: Re: Customize tables Alarms

    Posted Nov 27, 2019 06:06 AM
    Dear Jose and Dear Robson,

    Can you please help with , how you added a new field in your CA Spectrum, because the link shared Robson is not working after the migration from CA to Broadcom?

    Regards,
    AK


  • 10.  RE: Re: Customize tables Alarms

    Posted Nov 27, 2019 06:22 AM
    Got the information :

    https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=774853


  • 11.  RE: Re: Customize tables Alarms

    Posted Nov 27, 2019 06:54 AM
    I am trying to add Sysname in the locator results and I am trying to add below code in the table-searchresults-config.xml  at  $SPECROOT/custom/topo/config

    <?xml version="1.0" encoding="UTF-8"?>

    <!-- Adding custom columns to the Locator Search Results table to display Sysname -->

    <table id="table-searchresults-config" idref="table-searchresults-config">

    <column-list>

                                                                                              <column>

                                                                                              <name>sysName</name>

                  <content>

                     <attribute>0x10b5b</attribute>

                 </content>

                    <hidden-by-default>true</hidden-by-default>

                      </column>

    </column-list> 

    </table>

    I believe OC needs to be restarted , so that this xml file is processed by OC.

    Regards,
    AK




  • 12.  RE: Re: Customize tables Alarms

    Posted Nov 27, 2019 08:42 AM
    Hi AK,

    This is how my custom file looks like:

    # cat table-searchresults-config.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <table idref="table-searchresults-config">
    <column-list>
    <column>
    <name>Model Handle</name>
    <content>
    <attribute>0x129fa</attribute>
    </content>
    </column>
    <column>
    <name>IF Alias</name>
    <content>
    <attribute>0x13224</attribute>
    </content>
    </column>
    <column>
    <name>Topology String</name>
    <content>
    <attribute>0x129e7</attribute>
    </content>
    </column>
    </column-list>
    </table>




    ------------------------------
    Marcelo Zacchi
    CA Spectrum consultant
    Nets Denmark
    ------------------------------



  • 13.  RE: Re: Customize tables Alarms
    Best Answer

    Broadcom Employee
    Posted Nov 27, 2019 09:50 AM
    Hi Amit,

    Here is the new link of the article:
    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=112001

    ------------------------------
    Technical Support Engineer IV
    Broadcom Inc
    ------------------------------