debugging event procedure attribute values


Article ID: 192160


Updated On:


CA Spectrum


We are constructing an event procedure with regex to parse out strings from a trap, and generate new events and alarms from the parsed text. We enabled event_disp_error= file in .vnmrc and have output showing this event procedure, but the procedure is not working. Is there further debugging available? 


There may be issue with the variables of the trap and regex unable to parse the proper strings. 


Platform Independent


There is event variable debugging function "DebugValue()"  available to use and it will dump the event variables to the event_disp_file for review.

The following is an example of its use for dumping event variables for event 0xfff00000: 

0xfff00000 E 50 P “DebugValue( { S \”event varbind list dump: \” }, GetEventVariableList() )”

Additional Information

Further details on DebugValue can be found in Spectrum Guides: