Modifying the event code 0x00220006

Document ID : KB000049488
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

0x00220006 is an event generated on a device when a Communication Link Up and Down pair is received within a 60 second period. Further details are available in the contents pane of Event Configuration for this event but it is not possible to edit it there.

Unlike other events it is not possible to edit the event code 0x00220006 via Event Configuration as it is a rule we have not added to the UI yet, socurrently it can only be edited directly in the EventDisp file.

Solution:

  1. An EventDisp file automatically gets created in the Spectroserver in $SPECROOT/custom/Events when adding trap support in MIB tools but if you have not done this, and there is no EventDisp file there already, you can manually create one in this directory.

  2. Add the following entry (and edit the values) in the EventDisp file:

    0x00220006 E 50 R CA.InterfaceFlapRule, 15, 300, 600, "0x00220007 -:-", "0x00220008 -:-"

  3. When manually creating entries such as this in the $SPECROOT/custom/Events/EventDisp file, after finishing adding the entries it is recommended that you should set the .vnmrc event_disp_error_file to any filename. If you do not specify a directory the file will be created in the SS directory by default. Check that file for errors (with syntax etc.) after every EventDisp reload.

  4. After setting this entry in the .vnmrc reload the EventDisp. This is needed due to the fact that the EventDisp file is read and stored in memory. Reload it either using:

    1. The "Update Event Configuration" button in the Spectroserver control sub view of the information tab on the VNM model in OneClick

    2. Or send an action using vnmsh to the VNM model via CLI:

      Update action=0x100a2 mh=<VNM model handle>

For more information on syntax for EventDisp file entries, please see the CA Spectrum Infrastructure Manager Event Configuration User Guide.