Customizing OneClick Alarms

You can create custom alarm attributes and add them to the Alarm table and Information views.
casp1031
You can create custom alarm attributes and add them to the Alarm table and Information views.
Adding customized alarm attributes that display in OneClick is a multi-step process that requires using the Model Type Editor and the Alarm Preferences dialog, in addition to modifying the Alarm table and the Alarm Information view to display the custom alarm attributes.
To create and view custom alarm attributes
  1. Create the custom alarm attributes by adding them to the GlobalAlarm model type using the Model Type Editor. The attribute group ID value must be set to equal 11f4c.
    For information on how to add custom alarm attributes to the GlobalAlarm model type see The section provides complete instructions on accessing and using the Model Type Editor.
  2. Add a column to the Alarm table that displays the new customized alarm attribute by customizing the alarm-table-config.xml file. Modify Table Columns provides an example showing how to add a column to a table configuration file.
  3. Add a field to the Alarm Details view configuration that displays the alarm attribute in the alarm’s Information tab by customizing the view-alarmdetails-config.xml file. Extend or Modify an Information View provides information and examples on how to add a subview to an existing information view.
    You can also apply a custom privilege to the new alarm attribute by customizing the custom-privileges.xml file. Doing this limits which users or user groups or specific privileges are required to view the customized alarms. The name of the privilege must use the following syntax:
    alarm-write-<attribute ID in hex>
    The following example adds the new privilege to the Alarm Management group.
    <alarm-write-ffff0000 type="write"> <group scope="alarm-manager">alarm-mgmt</group> <label>New Alarm Attr</label> </alarm-write-ffff0000>
  4. Save and close the XML files you edited.
  5. You must restart the OneClick server in order to apply the new privilege.
  6. You must restart the OneClick Console to view the changes made to the Alarms table and Alarm Information view.