debugging event procedure attribute values

book

Article ID: 192160

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

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? 

Cause

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

Environment

Platform Independent

Resolution

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: 

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-1/managing-network/event-configuration/how-to-use-procedures-in-event-processing/troubleshooting-event-procedures.html