Use the ALARMPROGRAM parameter to display and handle event alarms.
By default, no alarms are reported. Set ALARMPROGRAM to the pathname of your alarm script to process alarms as they occur. A sample alarm script, $INFORMIXDIR/bin/onsyslog.sh, is provided, that formats and forwards alarms to syslog, the UNIX system message logger. Examples of alarms include messages about database server mode changes or logical logs.
The arguments that are passed to the alarm script are different for Extended Parallel Server. For details, see Using ALARMPROGRAM to Capture Events.
ALARMPROGRAM does not control continuous logical-log backups. To start continuous logical-log backups, set the LOG_BACKUP_MODE parameter to CONT. For details, see LOG_BACKUP_MODE.
To modify the ALARMPROGRAM parameter dynamically, use the onutil SET command. Example:
% onutil 1> SET ALARMPROGRAM "/usr/informix/etc/alarm_custom.sh";Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]