You can modify the severity of an alarm and whether the alarm should be alertable (see Alertable alarms), and you can specify an AIX command to be executed when the alarm occurs.
To modify an alarm definition, you need to:
The -u flag verifies the syntax (although it does not check that all message identifiers are valid) and applies the changes immediately.
The -v flag verifies the syntax of the file (although it does not check that all message identifiers are valid). It does not apply the changes: they are applied by the dtalarmd daemon when it starts.
The file consists of a number of lines. Each line contains the alarm_id keyword and the message identifier followed by optional keywords to define the required update. The keyword can be separated from its value either by a blank or by an equals sign (=). Blank lines are allowed, and comment lines beginning with '#'.
The following line sets the severity of alarm 1 to red, makes it alertable, and stops AIX tracing five seconds after the alarm is logged:
alarm_id 1 severity red alert true command sleep 5;trcstop -1
There is a sample file: $SYS_DIR/dtalarmd.sample.