Hi Jason,

you have to use event procedures in the EventDisp File and set the variable 
0x00012b4c with the string of your choice. The following alarm title stitches 
together a dynamic alarm title depending on some varbinds:

0xfff0029f E 20 P "CreateEventWithVariables (
                { C CURRENT_MODEL }, { H 0xfff002a0 },
                 SetEventVariable (
                  GetEventVariableList(), { H 0x00012b4c },
                   Append (
                    GetEventVariable({U 122}),
                     Append ( { S \" \" },
                      Append ( GetEventVariable({U 128}),
                       Append ({ S \" \"},
                        ToString( GetEventVariable ({U 110}))))))))"

If you want to display the new alarm title in the alarm details view as well 
then use:     Alarm Title: {S 76620}

Hope that helps.


Mit freundlichen Grüßen / With kind regards

--
  Benjamin Welge                  amasol AG
  Senior Consultant               Campus Neue Balan
  Phone:  +49 (89) 1894743-34     Claudius-Keller-Straße 3 B
  Fax:    +49 (89) 1894743-99     81669 München, Germany
  E-Mail: [email protected]         Web:    http://www.amasol.de/

amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie
Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender)
Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Frank Jahn, Johann 
Maurer
Amtsgericht München HRB 128327, Sitz der Gesellschaft München

From: Jason Hebron [mailto:[email protected]]
Sent: Monday, January 16, 2012 1:41 AM
To: spectrum
Subject: [spectrum] Modifying Alarm Title displayed in OneClick

Hi
Just looking for a pointer on this one
I would like to modify the Alarm Title as currently presented in Oneclick in 
the table view - I'd like to customise this to include some more variables such 
as model name, and some varbinds from the trap that created the event / alarm

Can someone point me in the correct direction and I can take things from there

Thanks

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