Home | Previous Page | Next Page   Configuring and Monitoring Dynamic Server > Configuration Parameters >

ALARMPROGRAM

onconfig.std value
On UNIX: /usr/informix/etc/no_log.sh
On Windows: %INFORMIXDIR%\etc\no_log.bat
if not present
On UNIX: /usr/informix/etc/no_log.sh
On Windows: %INFORMIXDIR%\etc\no_log.bat
range of values
Full pathname
takes effect
When the database server is shut down and restarted
refer to
The following material:

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

Important:
Backup media should always be available for automatic log backups.

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 ]