Watch4net: How do I enable debugging for events received by the Events-Processing-Manager (Event Spy)?
search cancel

Watch4net: How do I enable debugging for events received by the Events-Processing-Manager (Event Spy)?

book

Article ID: 304646

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - Watch4Net/M&R

Resolution

This article explains how to enable debugging for events received by the Watch4net Events-Processing-Manager (Event Spy).



To address this issue, do the following:
  1. Open the Watch4net processing.xml for editing. This file is found here:
/opt/APG/Event-Processing/Event-Processing-Manager/<instance>/conf/processing.xml
  1. Uncomment or add the following line:

    <!-- Debugging -->
        <!-- Event spy for debugging purposes: outputs events to log files. Install the event-processing-utils modules to use this. -->
        <processing-element name="EVENT-SPY" type="EventSpy" config="Event-Processing-Utils/Default/conf" />

  1. Add "EVENT-SPY" to the "data" parameter of the listener you wish to debug. For example, the following shows the Event Spy added to a Smarts Listener:

<!-- Smarts Listener -->
        <processing-element name="Smarts" config="Smarts-Listener/Default/conf/smarts-listener.xml" data="AC Generic-Event-Writer[data] EVENT-SPY" />

  1. Save and close the processing.xml file.


Additional Information

- The "event-processing-utils" module must be installed to use Event Spy debugging

- To check this use the following command - "manage-modules.sh list installed"

- To install, use the following command - "manage-modules.sh install event-processing utils"