Home | Previous Page | Next Page   Appendix C. Event Alarms > Using ALARMPROGRAM to Capture Events >

Writing Your Own Alarm Script

Alternatively, you can write your own shell script, batch file, or binary program that contains the event-alarm parameters. When an event occurs, the database server invokes this executable file and passes it the event-alarm parameters (see Table 21). For example, your script can use the class_id and class_msg parameters to take administrative action when a table failure occurs. Set ALARMPROGRAM to the full pathname of this executable file.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]