Hi David, If the AW has SMTP connection to their email server, this is my suggestion: - Create the Alarm events and then use a PERL script to monitor the ALMHIST file (it will run as a daemon - on every second or 2 seconds or whatever speed you want). - Once it locates the alarm in the ALMHIST, it will trigger the email (all inside perl). You will need some kind of pointer in the file to avoid looking at events processed in the past run (nothing too hard). - You can build a setup.txt file that contains all alarms that should be monitored. P.S: you can replace the almhist file with the omget calls (you should have replaced at this point your omget with omgetimp. If not, use omgetimp), and then monitor the events. This method will probably cause a litle more traffic, but it will depend on how many situations you want to monitor and how fast. The advantage is that you do not need to create alarms. Other problem is that if you have fast triggering of the events, if you do not run fast enough (0.5 sec) you may miss some of them. I hope that helps. Of course, that is what I would do, since my knowledge of Shell Scripting is really not good (this is why I use PERL). I can send you off-list some examples of PERL code to send emails using SMTP calls (you can even compile the PERL script, so no need to install perl on the AW if does not have it, or does not have the proper packages - like I do with Foxray). Best regards, Ricardo P. Abech Chief Software Architect LimeWare Company, Inc. [USA phone]: (408) 786 5140 [USA mobile]: (907) 687 8113 or (407) 443 0662 [Brazil phone]: +55 51 3372 0104 [Brazil mobile]: +55 51 8192 9723 [email]: abech@xxxxxxxxxxxxxxxxxxx [http://]: www.limewarecompany.com On Nov 8, 2010, at 3:50 PM, Johnson, David wrote: Hello all, I have a need to monitor a few Foxboro points and send an email when a certain situation occurs. I've sent mail from Sun boxes in the past, which is easy with command line tools. I am not familiar with this on windows, put assume that it exists. I have options.... They have Foxray ... 1.. I could build an alarm and have Foxray monitor this and send an email when the alarm comes in. The only problem there is the some delay on the data collection (5 or 10 minutes depending on fast collect scheduling) and they want a fairly immediate indication that a problem is occurring. 2.. I could write a piece of sequence code to kick off an external command to send an email. 3.. I could write a simple looping shell script that uses omgetimp and waits until the event occurs and then send an email. 4.. Foxpage probably does this and a lot more. 5.. There might be a better way of doing this that I haven't thought of. So does anyone have any advice before I start dusting off some old Unix shell scripts? Thanks, David ________________________________ Confidentiality Notice: The information contained in this message is private and confidential. This information is intended only for the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, review, dissemination, distribution, copying or action taken based on this message or its attachments, if any, is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and delete or destroy all copies of this message and any attachments. Thank you. _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave