Selecting Specific Alarm and Message Fields
Next to each field in the spreadsheet is an empty cell used to define the column name that will store the field's information in the specified table. For example, if the column name that stores the Alarm Priority is ALM_ALMPRIORITY, enter this text as the following figure shows.
Fields and Column Sizes
The exact fields you archive depend on the table that saves your alarms and messages. The table must have one column for each field you select. If you select more fields than the table can save, some or all of the data will not be saved, depending on your relational database. The size of each column must be at least the size specified in the following table.
You must also set up your relational database to accept null strings. Consult your relational database manuals to learn how to enable this feature.
IMPORTANT: Do not use reserved SQL keywords as column or table names. Doing so can result in data loss. For a list of reserved keywords, consult your SQL manuals.
NOTE: If you want to change the fields that are in an existing table, you must create a new table with a new name, and then transfer data from the existing table to the new table. You cannot modify an existing table's fields by selecting or deselecting fields in the Column Configuration spreadsheet.
Message Types
The following Message Types can be generated in an alarm message:
Message Type | SQL Column Name | Description |
UNKNOWN | ALM_MSG_UNKNOWN | Unknown type of message |
ALARM | ALM_MSG_ALM | Typical alarm (e.g. block alarms) |
HARDWARE | ALM_MSG_HARDWARE | Hardware I/O alarm |
NETWORK | ALM_MSG_NETWORK | Network notification |
SYSALERT | ALM_MSG_SYSTEM_ALERT | System alert notification |
USER | ALM_MSG_USER | User-defined message |
ACKNOWLEDGE | ALM_MSG_FLAG_ACK | Acknowledgement notification |
DELETE | ALM_MSG_FLAG_DEL | Manual delete notification |
OPERATOR | ALM_MSG_OPERATOR | Operator action |
RECIPE | ALM_MSG_RECIPE | Recipe message |
EVENT | ALM_MSG_EVENT | Event message |
TEXT | ALM_MSG_TEXT | Generic text message |
6XTXT | ALM_MSG_TEXT_6X | Generic or unknown message from v6.x nodes |
AAM | ALM_MSG_AAM | Auto Alarm Manager message |
SQL | ALM_MSG_SQL | SQL messages |
ESIGNATURE | ALM_MSG_SIGNED | Electronic Signature |
Message Type Query Syntax
The Message Type field is 11 characters in length. If a Message Type contains less than 11 characters, hard-coded trailing spaces are included to make up the difference.
For example, in this statement, the extra characters explicitly appear at the end of the DELETE string:
SELECT * FROM FIXALARM WHERE (FIXALARM.ALM_MSGTYPE = 'DELETE ').
Alternatively, this example demonstrates the use of wildcards to make the statement more generic:
SELECT * FROM FIXALARM WHERE (FIXALARM.ALM_MSGTYPE Like '%DELETE%').
In addition, a query statement like the following example will also return matches:
SELECT * FROM FIXALARM WHERE (FIXALARM.ALM_MSGTYPE = 'DELETE').