Use the ALARMPROGRAM parameter to display event alarms. The following sample scripts are provided.
Script Name | Platform | Description |
---|---|---|
log_full.sh | UNIX | To back up logical logs automatically when the database server issues a log-full event alarm, set ALARMPROGRAM to log_full.sh or log_full.bat. |
log_full.bat | Windows | |
no_log.sh | UNIX | To disable automatic logical-log backups, set ALARMPROGRAM to no_log.sh or no_log.bat. |
no_log.bat | Windows | |
alarmprogram.sh | UNIX | Handles event alarms and controls logical-log backups. Modify alarmprogram.sh or alarmprogram.bat and set ALARMPROGRAM to the full pathname of alarmprogram.sh or alarmprogram.bat. See Customizing the ALARMPROGRAM scripts. |
alarmprogram.bat | Windows |
You can set the ALRM_ALL_EVENTS configuration parameter to specify whether ALARMPROGRAM runs for all events that are logged in the MSGPATH or only for specified noteworthy events (events greater than severity 1).
Instead of using the supplied scripts, you can write your own shell script, batch file, or binary program to execute events. Set ALARMPROGRAM to the full pathname of this file. The database server executes this script when noteworthy events occur. These events include database, table, index, or simple-large-object failure; all logs are full; internal subsystem failure; initialization failure; and long transactions. You can have the events noted in an email or pagermail message.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]