Hi Jon, list,

you could configure an event disposition for the "model created" event to fire 
up an alarm (e.g. with minor or normal severity).
Within a corresponding notifier, you might send your trap and immediately clear 
the alarm.

Mit freundlichen Gruessen - Yours sincerely

Raphael Franck
Consultant 
Global Infrastructure Operations

Computacenter AG & Co oHG
Enabling Users

Europaring 34-40, 50170 Kerpen, Germany
E-Mail: [email protected]
WWW: www.computacenter.de


-----Ursprüngliche Nachricht-----
Von: John O'Mahony [mailto:[email protected]] 
Gesendet: Montag, 20. Oktober 2014 11:46
An: spectrum
Betreff: Re: [spectrum] Run a script when a event occours

Hi Jon
You can¹t use SANM if it¹s just an event that you want the script to fire off 
of. SANM triggers off of alarms.

Options I can think of are Š
Use the CORBA API to watch for the specific event and then trigger off of that. 
Write a script that periodically checks for new devices and run your script 
from there.

John



On 16/10/2014 21:17, "Daniel Ellsweig" <[email protected]> wrote:

>Try grabbing the event in SANM end execute your script from there
>
>
>________________________________________
>From: Jon Magnus Dullerud [[email protected]]
>Sent: Thursday, October 16, 2014 4:01 PM
>To: spectrum
>Subject: [spectrum] Run a script when a event occours
>
>Hi all.
>What is the best way to fire off a script on the server when a event 
>occurs?
>We are trying to get spectrum to start a script that sends a request to 
>another nms when a new device is discovered in spectrum.
>
>What is the best way to do this?
>I am a bit worried when doing auto discovery of many devices.
>
>
>/jon magnus
>---
>To unsubscribe from spectrum, send email to [email protected] with the
>body: unsubscribe spectrum [email protected]
>
>
>Please consider the environment before printing this e-mail.
>
>---
>To unsubscribe from spectrum, send email to [email protected] with the
>body: unsubscribe spectrum [email protected]


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to