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]

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] with the body: 
unsubscribe spectrum [email protected]

Reply via email to