I configured the events to be processed by SBGW, but I'm not figured out how to forward the event to the correct models yet.
I have my files in these directories:
/spectrum/custom/Events/gen_app_gw/EventAdmin/EventDisp
0xfff00008 E 0
0xfff00009 E 0 C 0xfff00008,2,4
/spectrum/custom/Events/gen_app_gw/EventDisp
0xfff00008 E 0
0xfff00009 E 0 A 0,0xfff00009 C 0xfff00008,2,4
/spectrum/custom/Events/gen_app_gw/AlertMap
# vmwareTrapProblemActive vmwareAlertAliveServerName ("The name of the VCOPs server that generated this alert.")
1.3.6.1.4.1.6876.4.5.1.6.46 0xfff00008 1.3.6.1.4.1.6876.4.5.1.2.1(101,0)\
# vmwareAlertEntityName ("The Entity name about which this alert was generated.")
1.3.6.1.4.1.6876.4.5.1.2.2(16,0)\ #La variable 16 le indica al SBGW que busque al modelo por nombre
# vmwareAlertCriticality ("A text string describing the alert criticality level.")
1.3.6.1.4.1.6876.4.5.1.2.5(103,0)\
# vmwareAlertID
1.3.6.1.4.1.6876.4.5.1.2.8(104,0)\
# vmwareAlertMetricName ("The textual metric name of the alert that was generated.")
1.3.6.1.4.1.6876.4.5.1.2.15(105,0)\
# vmwareAlertDefinitionName ("Alert Definition Name")
1.3.6.1.4.1.6876.4.5.1.2.17(106,0)\
#####################################################################################################################################
# vmwareTrapProblemClear vmwareAlertAliveServerName ("The name of the VCOPs server that generated this alert.")
1.3.6.1.4.1.6876.4.5.1.6.47 0xfff00009 1.3.6.1.4.1.6876.4.5.1.2.1(101,0)\
# vmwareAlertEntityName ("The Entity name about which this alert was generated.")
1.3.6.1.4.1.6876.4.5.1.2.2(16,0)\
# vmwareAlertCriticality ("A text string describing the alert criticality level.")
1.3.6.1.4.1.6876.4.5.1.2.5(103,0)\
# vmwareAlertID
1.3.6.1.4.1.6876.4.5.1.2.8(104,0)\
# vmwareAlertMetricName ("The textual metric name of the alert that was generated.")
1.3.6.1.4.1.6876.4.5.1.2.15(105,0)\
# vmwareAlertDefinitionName ("Alert Definition Name")
1.3.6.1.4.1.6876.4.5.1.2.17(106,0)\
I read in the guide something about the Event Data Template, and that in order to match the model by name (case insensitive) I would need to map the varbind to variable 16 of the event. Is that correct?
On the other hand, the guide suggests to use variable numbers greater than 100, and that's why I'm mapping varbinds to variables 101, 103, 104, 105 and 106.
I see that the traps are being processed and events are being created, but these events are attached to the vROPS server instead of the entity the alarm was generated about.
What am I doing wrong?