Hello Shahla,
I'm not a Pearl scripting guru - actually I haven't invested any amount of time in learning Pearl programming - so I can't give you a solution to your problem. I believe it is possible to customize the ClearScript to such extent that it might have a little bit of "intelligence" like reading a user list from a file depending on what type of alarm has been cleared. I had a similar problem (maybe a little more than that) where I had to send SMS alerts to users which were interested in receiving only specific alarms and clears. My approach was to create an application to replace the original mailer and that application to be called by SetScript and ClearScript. My application was able to read from a custom *.ini file the list of users to be notified in each case and to notify only them; it also allowed to customize the alert and clear messages to whatever content I desired. That's the way I managed to solve this problem; lucky me I'm a big fan of a scripting language similar to PowerShell (AutoIt) which helped me so many times I can't count. I might be able to give a little bit of assistance with this matter if you decide to go this way. I could send you the script I've used (AutoIt script) and you might get an idea about what can be done. My advice: if you can get hold of a Pearl scripter ask him to customize these scripts to suit your needs; it is perfectly doable; and my recommended way to solve your problem. If you can't do it that way, you might consider a separate application. Good luck, Regards, Eugen NAIMAN ________________________________ From: Tabarzadi, Shahla [mailto:[email protected]] Sent: Friday, 10 July 2009 2:54 AM To: spectrum Subject: [spectrum] Clear Script and Delay msgs Hi, I have configured ClearScript to send an email when a problem or an issue is resolved. Meantime I have SANM configured to send some of our notifications with delay and if an alarm is acknowledged during the delay period, a notification will not go to the users. However when the problem is resolved, ClearScript will send notification no matter what. To make the long story short now my users who never receive "Down" msgs, now they receive 'Up" msgs. Any body has a solution or has run to this problem? Thank you ------------------------------------------------------------------------ ------------------------------ Shahla Tabarzadi Network & Unified Communications U.S. House of Representatives 202-226-6266 * --To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission. If the transmission contains advice, the advice is based on instructions in relation to, and is provided to the addressee in connection with, the matter mentioned above. Responsibility is not accepted for reliance upon it by any other person or for any other purpose. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
