ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Map an unknown alert/trap and merge/concatenate varbinds to generate a dynamic alarm title via event procedure


Article ID: 224847


Updated On:


CA Spectrum DX NetOps


We would like the DX NetOps Spectrum to create a custom alarm that contains what's in these OID (IP+error message). Either in the alarm title or in the alarm message. Is that possible ?

unknown alert - 0x10801


DX NetOps Spectrum 20.x


Map the incoming trap to the Spectrum variables.

In the $SPECROOT/custom/Events/AlertMap file:      0xfff00000,0)\

Create an Event Procedure to concatenate the variables' values to create a dynamic alarm title in the 0x12b4c variable.

In the $SPECROOT/custom/Events/EventDisp file:

0xfff00000 E 10 P "\
     CreateEventWithVariables (\
     {H 0xfff00001},\
     SetEventVariable (\
     {H 0x12b4c},\
     Append(Append(Append({S \"Alert - \" }, GetEventVariable({U 2})), {S \" - IP: \"}), GetEventVariable({U 1})) ))"
0xfff00001 E 0 A 1,0xfff00001


Click on the "Update Event Configuration" button under the SpectroSERVER Control subview of the VNM model to load the changes made on the AlertMap and EventDisp files into the SpectroSERVER memory.