i recomend to do a application only for this, to run the scripts. And another 
application for the "normal" notifier alarms. 

Diego MP

On 07/21/2011 07:00 AM, James Garthek wrote: 

        Hi,
        
        SANM is like a pre-filter for AlarmNotifier. And AlarmNotifier can run 
a script (SetScript) when  an alarm passes the filter. These filters are 
evaluated ONLY for alarms.
        So, you need to create an alarm from your event (modifying EventDisp 
files or with Tools -> Utilities -> Event Configuration utility).
        Then you can optionally use SANM if you want to filter when the script 
should be run or modify SetScript to filter what you want.
        
        In the past, there used to be a script (EventNotifier) that did what 
you want to do, but it was removed several version ago (I think due to 
performance issues).
        
        Regards.
        James.
        
        
        
        
        On Wed, Jul 20, 2011 at 1:05 AM, Naiman, Eugen 
<[email protected]> wrote:
        

                Hi Ali,

                 

                I was pretty sure it works only for alarms and not for events.

                Now I am not so sure because I had a look at the number of 
Alarms displayed by SANM Policy editor and I had another look at the number of 
events listed by Event Configuration. To my surprise I found the number to be 
pretty close. That made me think that SANM could work with Events too.

                Just create the policy and search for the event you want in 
“Alarm List” there is a very high chance that your event will be there. If you 
find it in the list – bingo! J

                 

                Eugen

                 

                 

                From: Aliabbas Syed [mailto:[email protected]] 
                Sent: Wednesday, 20 July 2011 6:20 AM
                To: Naiman, Eugen
                Subject: RE: [spectrum] Is possible create a Event which to 
launch an script?

                 

                This solution is for Alarms only, right? not for Events.

                 

                            Thanks / Cheers, Ali

                         

                        
________________________________


                        From: Naiman, Eugen 
[mailto:[email protected]] 
                        Sent: Thursday, July 14, 2011 7:10 PM
                        To: spectrum
                        Subject: RE: [spectrum] Is possible create a Event 
which to launch an script?

                        Hi Diego,

                         

                        As far as I know it is not possible for an event/alarm 
to trigger a script execution directly.

                        But, there is a solution. The solution involves 
Spectrum Alarm Notifier.

                        You can create a policy (the filtering options are very 
good so you can make it as exact as you want) and when the conditions are met, 
SANM will take over via SetScript, ClearScript and UpdateScript. The default 
action for these scripts is to send an email but you can replace the “mail” 
part with your app.

                        Read the manual, because the procedure is explained in 
detail, and be prepared for trial-and-error. You will get it working in the end.

                         

                        Eugen

                         

                         

                        From: Diego Pereyra 
[mailto:[email protected]] 
                        Sent: Friday, 15 July 2011 3:44 AM
                        To: spectrum
                        Cc: spectrum
                        Subject: Re: [spectrum] Is possible create a Event 
which to launch an script?

                         

                        Hi susana
                        
                        I dont find if is posible launch an script thought and 
event, but yes is posible launch it using watchs. Have u try it ? 
                        
                        Bye and good luck
                        Pereyra Diego
                        Netsol International
                        
                        On 07/14/2011 04:52 AM, susana jimenez wrote: 

                        Hi,list,
                        Is possible create a Event which to launch an script?
                         
                         
                        Regards,
                        Susana
                         
                        ---
                        To unsubscribe from spectrum, send email to 
[email protected] with the body: unsubscribe spectrum 
[email protected]
                         

                         

                        -- 

                          <http://www.netsol-international.com/> 

Pereyra Diego
System Engineer


         

Esmeralda 684, Piso 10(C1007ABF)
Ciudad de Buenos Aires
Argentina

Web:
E-mail:
Voice:

http://www.netsol-international.com <http://netsol-international.com/> 
[email protected] <mailto:[email protected]> 
+54 11 5031 1162

                         

                         

                         

                          

                        &#61623          --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] 

                 

                
________________________________


                NOTICE: The information contained in this electronic mail 
transmission is intended by Convergys Corporation for the use of the named 
individual or entity to which it is directed and may contain information that 
is privileged or otherwise confidential. If you have received this electronic 
mail transmission in error, please delete it from your system without copying 
or forwarding it, and notify the sender of the error by reply email or by 
telephone (collect), so that the sender's address records can be corrected.

                *       --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] 



-- 


  <http://www.netsol-international.com/> 

Pereyra Diego
System Engineer


         

Esmeralda 684, Piso 10(C1007ABF)
Ciudad de Buenos Aires
Argentina

Web:
E-mail:
Voice:

http://www.netsol-international.com <http://netsol-international.com/> 
[email protected] <mailto:[email protected]> 
+54 11 5031 1162

 

 

 

  


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

<<ATT14909.jpg>>

<<ATT14911.jpg>>

<<ATT14913.jpg>>

<<ATT14915.jpg>>

Reply via email to