Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article suggests a possible process for installing and configuring a sample script,

View file
name2392_IMG_Alarm_Monitor.v1.4 (4).zip
,  designed to automatically check for alarms in the alarm.log and send an email when an alarm occurs.

The sample script is The sample script is designed to automatically monitor the GCEMS alarm.log; when an IMG alarm is detected an email containing the alarm is sent to the email address that is defined in the script.  The script will need to be modified by the user.

...

Use the following command to test the sendmail function, replacing user@domain.com com with your own email address.

  • mutt -s "test mail" 

user@domain.com < .

Installation procedure

  1. Copy the files in the 

...

  1. the zip file (StartIMG_Alarm_Monitor and  IMG_Alarm_Monitor) to a folder such as /excelsw/home/scripts

  1. Make the two files above executable.

...

  1. Edit variables in the IMG_Alarm_Monitor file.

  • Change the user@domain.com to a destination email address for your network.

  • Change the “string” to change what is monitored.

  • Change the “Delay” to how often to scan for IMG Alarms. Minimum is 10 seconds.

...