Each time an email notification is generated by LifeKeeper an entry is logged in the NOTIFY log file on the server that sent the message. This file can be viewed like all other LifeKeeper log files. See Viewing Server Log Files. The log can also be viewed from the command line using the lk_log command (see the lk_log(8) man page for details).
The format for LifeKeeper Event logs is:
DATE: [message] sent to LK_NOTIFY_ALIAS
where:
DATE is the output of the date command
message is a string describing the LifeKeeper Event
LK_NOTIFY_ALIAS is the email address or alias to which the event notification was sent
Some of the messages (LifeKeeper Manual Switchover Complete - recovered list, LifeKeeper Manual Switchover Complete - failed list, LifeKeeper Node Recovery Complete for Server - recovered list, LifeKeeper Node Recovery Complete for Server - failed list, LifeKeeper Resource Recovery Complete, and LifeKeeper Resource Recovery Failed) have an extra variable to indicate the resource(s) involved in the action. The log entry in these cases is followed by the extra string, delimited with a leading colon (:).
DATE: [message] sent to LK_NOTIFY_ALIAS :resource_string
If the lk_confignotifyalias utility is used to change the value of LK_NOTIFY_ALIAS in the file /etc/default/LIfeKeeper, a message will be written to the NOTIFY log in the following format:
DATE: lk_confignotifyalias: action
where action displays the changes that were made to the file /etc/default/LifeKeeper.
If an error occurred attempting to send email, a message will be written to the NOTIFY log in the following format:
DATE: Error: [event] diagnostic message
where event is the LifeKeeper event that triggered the attempted email notification and diagnostic message is a message string with more details on the failure.
See Email Notification Troubleshooting for troubleshooting information related to email notices.