I have done that testing in the past with 9.1 environment and not sure if things have changed from past.
Experts correct me if I am wrong - I believe what happens is this, when you explicitly set the condition/severity of the Event to Normal the Condition_Value of the device will drop to 0 and that will change the color of the device to Green. [cid:[email protected]] Saurabh Bohra O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected] PS: I will be out of office 9/29 through 10/4 for conference/training. From: John O'Mahony [mailto:[email protected]] Sent: Thursday, September 26, 2013 4:09 PM To: spectrum Subject: Re: [spectrum] Call a script after a trap is received I haven't tried it but I wouldn't have thought so because I would expect the higher criticality alarm to take precedence. It should behave the same as if you have a major alarm on a device and a minor alarm comes in. In that case the device stays orange. Have you tried it and seen that is the case? John From: <Bohra>, Saurabh <[email protected]<mailto:[email protected]>> Reply-To: "Bohra, Saurabh" <[email protected]<mailto:[email protected]>> Date: Thursday, 26 September 2013 20:20 To: spectrum <[email protected]<mailto:[email protected]>> Subject: RE: [spectrum] Call a script after a trap is received There is a disadvantage of using Normal severity (alarm level), because if there are preexisting alarms on the device, then the condition of the device will be changed to normal which does not reflect the correct condition. Saurabh Bohra O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected]<mailto:[email protected]> PS: I will be out of office 9/29 through 10/4 for conference/training. From: david t. klein [mailto:[email protected]] Sent: Wednesday, September 25, 2013 9:56 PM To: spectrum Subject: RE: [spectrum] Call a script after a trap is received Too right; I haven't managed a Spectrum build-out in a while, so I had forgotten. Thanks for catching my mistake. Have a good one, and keep spreading the love of self-healing datacenter through the use of SANM+Expect-scripts. -DTK -- david t. klein Cisco Certified Network Associate (CSCO11281885) Linux Professional Institute Certification (LPI000165615) Redhat Certified Engineer (805009745938860) Quis custodiet ipsos custodes? From: John O'Mahony [mailto:[email protected]] Sent: Wednesday, September 25, 2013 4:57 AM To: david t. klein; spectrum Subject: Re: [spectrum] Call a script after a trap is received David I think you meant alarm level of Normal rather than None. If it's none then no alarm is created hence SANM doesn't kick in. I hadn't thought of that before but just tried it and it works. Pure genius :-) John From: "david t. klein" <[email protected]<mailto:[email protected]>> Reply-To: "david t. klein" <[email protected]<mailto:[email protected]>> Date: Wednesday, 25 September 2013 01:16 To: spectrum <[email protected]<mailto:[email protected]>> Subject: RE: [spectrum] Call a script after a trap is received The easiest way would be to modify the event to have an alarm level of "None", and then use SANM to bind it to a SetScript/ClearScript. -- david t. klein Cisco Certified Network Associate (CSCO11281885) Linux Professional Institute Certification (LPI000165615) Redhat Certified Engineer (805009745938860) Quis custodiet ipsos custodes? From: Bohra, Saurabh [mailto:[email protected]] Sent: Monday, September 23, 2013 12:47 PM To: spectrum Subject: [spectrum] Call a script after a trap is received Hello all, Is there a way to execute a script after a trap is received from EventDisp file itself. I do not want to raise alarm from the device model and then through Alarm Notifier run the script. Thanks, Saurabh Bohra Sr. Network Mgmt Systems Analyst ESPN Inc. O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> ________________________________ No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 2013.0.3408 / Virus Database: 3222/6677 - Release Date: 09/18/13 * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> ________________________________ No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 2013.0.3408 / Virus Database: 3222/6677 - Release Date: 09/18/13 Internal Virus Database is out of date. * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
<<inline: image001.png>>
