Adding columns to OneClick Alarm View

Document ID : KB000047627
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to add a column to the OneClick Alarm View

 

Environment:

CA Spectrum 9.x, 10.x

 

Answer:

To achieve this, you would need to customize a XML file which displays this information.

 

Follow theses steps on the OneClick machine:

1. Navigate to $SPECROOT/custom/alarm/config directory

2. Create a file called "alarm-table-config.xml"

3. Paste this code into the file: 

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

<table idref="alarm-table-config"> 

    <column-list> 

        <column> 

            <name>New_column_name</name> 

            <default-width>150</default-width>

            <content> 

                <attribute>0x?????</attribute> 

            </content> 

        </column>  

    </column-list> 

</table>

4. Change the fields in yellow appropriately and save the file.

5. When you launch a new OneClick Console, you will see the new column in the Alarms TAB.

 

Notes:

It would be recommended to use the internal attribute value as requires less work because it does not have to do an external read of the attribute on the device.

Attributes.png