Previous Topic: Configure Alert Management Global SettingsNext Topic: Set CI User Attributes


Rename Custom Attributes

Alerts, CIs, and services have user-defined attributes that you can populate with custom data using any of the following methods:

All custom attributes are available in the User Defined Attributes section of the Information tab in the Component Detail pane. Alert custom attributes are also available for inclusion in alert table views and as criteria in escalation and alert queue policies.

If you use any of the custom attributes, you can rename them. The custom attributes then reflect the custom data to which they are assigned.

The renaming only applies to how the attributes appear in the main Operations Console windows. In configuration dialogs such as those for alert queues, alert filters, and event policies, the alert custom attributes appear using their original names, and any policies work that use those attributes. For example, you rename the alert User Attribute 1 to Location and you create an event policy that enriches the User Attribute 1 property with location information. The enrichment data correctly appears under the Location attribute. For manual customizations such as custom connector policy and the Universal connector, use the original attribute name for the information to appear correctly under the renamed attribute.

Follow these steps:

  1. Open the following file in a text editor:

    SOI_HOME\SamUI\webapps\sam\WEB-INF\alarm\config\column-userDefined1-config.xml

    Note: Five files correspond to the five user attributes, and the files are numbered sequentially as column-userDefined1-config.xml, column-userDefined2-config.xml, and so on.

  2. Search for the <name> tag and update it as shown in the following sample code:
    <?xml version="1.0" encoding="UTF-8"?>
    <column id="column-userDefined1-config"
         xmlns ="http://www.aprisma.com"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.aprisma.com
                   ../../common/schema/column-config.xsd">
    
      <name>NewNameHere</name>
    
      <content>
        <attribute>AlarmAttrID.USERATTRIBUTE1</attribute>
      </content>
    
    </column>
    
  3. Save the file.
  4. Restart the Operations Console.

    The new name becomes visible.