Hi everyone,
I’m using Live Exceptions to monitor some virtual servers (within virtual
contexts in Cisco ACE devices) and there’s no model in Spectrum that represent
them, so I created Event Models in Spectrum to do so. The thing is that I
configured a notifier rule that executes a script that grabs all the
information of the element and the alarm, and sends a trap to Spectrum so that
it can individualize each alarm for each Event Model (instead of assigning all
the traps to the model of the ACE).
So, Spectrum receives a trap with 26 variables (custom MIB, already uploaded
with MIB Tools). How can I get the values for each OID to use them in the Event
Message? Do I have to create an event table? I’m not getting the idea from the
Event Configuration guide, which indicates this:
{Y <event table file name> #}
Inserts a text string that is associated with an OID. The association between
the attribute value and the text string is defined in an event table file that
is automatically created by MIB Tools when you map the trap to the event. For
more information, see Referencing OIDs (see page38).
If a variable binding that is sent with a trap contains an OID, you can use it
in an event
message. To do so, you must use the proper syntax and reference the following:
■
The event variable to which the OID of the variable binding is mapped.
■
The event table file that contains the enumerated OID values and the associated
text strings to use in event messages. (Event table files are automatically
created by
MIB Tools when you map traps to new CA Spectrum events.)
As an example, assume you have an event table file named NewTable that
associates
the following attribute values with corresponding text strings:
1.3.6.1.4.1.1563.1.2.1.1.3.2.36.2.6 dot6
1.3.6.1.4.1.1563.1.2.1.1.3.2.36.2.5 dot15
1.3.6.1.4.1.1563.1.2.1.1.3.2 dot7
To reference these values in an event message, use the following syntax:
{Y NewTable 2}
Regards
[cid:[email protected]]<http://www.netsol-international.com/>
Elio Frongia
Presales Consultant
[cid:[email protected]]
Esmeralda 684, Piso 10
(C1007ABF)
Ciudad de Buenos Aires
Argentina
Web:
E-mail:
Tel:
Móvil:
PIN:
http://www.netsol-international.com<http://netsol-international.com/>
[email protected]<mailto:[email protected]>
+54 11 5031 1162 interno 107
+54 911 6548 2609
27015BAC
[cid:[email protected]]
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]