User's Manual

Customizing the DecisioNet System D-21
Log Monitor basesw.cfg File Options
The following Log Monitor options are configurable in the Log
Monitor section of basesw.cfg file.
Log Monitor Editor
#Configure the Log Monitor to use the following editor
#"LOGMON_EDITOR", "editor"
The LOGMON_EDITOR parameter identifies the editor used by Log
Monitor. The editor specified must permit an argument that identifies
the file the user wishes to view. The Log Monitor initiates the editor as
follows:
editor <filename>
User-defined Actions
#User defined actions go here
"LOGMON_ALERTACTION1", "echo SW DOWN > c:\epl\data\STATMOD.001"
"LOGMON_ACKACTION1", "echo SW OK > c:\epl\data\STATMOD.001"
The LOGMON_ALERTACTIONX parameter defines an action that is
performed when an alert occurs. The action may be an executable file,
batch file, or shell script; but can not display messages on the CRT. The
action may be to send a message or file to the host processor, log an
error, or perform some meaningful action in response to the alert.
The LOGMON_ACKACTIONX parameter defines an action that is
performed after a user acknowledges an alert. The action may be to
send a message or file to the host processor, log an error, or perform
some meaningful action in response to the acknowledgement.