To use the alert information from ims54cluster or alertg, an OT-XML message on the alert transport, such as an item in the PENDING queue, must be turned into a user-defined action. Use the utility program, alertd, to do this.
alertd reads alert messages from the alert transport, such as a queue or file device, and invokes a user-maintained shell script or binary. Use alertdsvc to run as a Windows service. On UNIX systems, run alertd either in the foreground or in the background, for example, as a daemon.
Before invoking the user script or binary, alertd places the relevant information from the alert message in environment variables. While the user script or binary is executing, you can query the environment variables to control the execution flow in a script or binary.
Figure 5-2: Open Transport-XML alerts
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |