The purpose of the automation termination message is to prepare a managed host system for the end of monitoring. SP-AMS generates an automation termination message before it stops processing message data from a managed host. This message is generated when Operations Sentinel stops monitoring a system. Monitoring ends when monitoring is turned off for a host, although Operations Sentinel logging may continue to receive and log messages from the host.
When SP-AMS deactivates a database, it generates an automation termination message for each system that is currently being managed. Because the message is generated internally, it is not displayed in any console window.
The automation termination message is processed by SP-AMS as if it originated from the managed system. Therefore, you can create patterns to match the message and perform termination actions for each system. For example, if the login sequence for a UNIX system was automated, a typical termination sequence is to log out. Other actions might be to stop a process or to delete a temporary file.
ACTIVATE or DEACTIVATE Action During Termination
If the termination message is generated when a database is currently active, and Operations Sentinel stops monitoring a previously managed host, any ACTIVATE or DEACTIVATE action in the pattern matching the termination message is executed.
If a termination message is generated when the active database is in the process of being deactivated, and the pattern that matches the message includes an ACTIVATE or DEACTIVATE action, the action is not executed and a warning message is produced. However, if the ACTIVATE or DEACTIVATE action is delayed with a WAIT clause, it is executed after the original deactivation is completed.
Text of the Automation Termination Message
The text of the automation termination message is as follows:
Single Point AMS automation stopped for system host-id.
where host-id identifies the system you were monitoring.
The sample databases (spastart.bld for UNIX hosts and MCPMon.bld for MCP hosts) contain an example of a pattern that matches the termination message.