Unsubscribe Port Disabled or Interface Disabled events
book
Article ID: 303935
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
How to unsubscribe or stop receiving Port Disabled or Interface Disabled events in Smarts SAM?
Resolution
To unsubscribe from Port Disabled or Interface Disabled events in Smarts SAM(Service Assurance Manager), do the following:
- Open the dxa-conn.conf configuration file for editing using sm_edit on the system that SAM uses to communicate with underlying domain as follows:
<BASEDIR>/SAM/smarts/bin/sm_edit conf/ics/dxa-conn.conf
- Find the following entry:
sub .*::.*::.*/p
- Change this entry to the following:
sub *::*::~Disabled/pg
Note: By using the "g" modifer, the ".*" becomes "*" for the class and instance.
- SAM will now subscribe to all problem events except for Disabled events.
- Open the ics-event-driver.asl file for editing for editing using sm_edit as follows:
<BASEDIR>/SAM/smarts/bin/sm_edit rules/ics/ics-event-driver.asl
- Add the following "ChoiceSubscription" line where highlighted in bold below:
ChoiceSubscription->symptoms = glob("*s*|*e*", Modifiers);
ChoiceSubscription->glob = glob("*g*", Modifiers); // Add this line
ChoiceSubscription->quiet = TRUE;
- Restart the SAM server to apply the change. Note that this will not filter out current Disabled events already received.
Feedback
thumb_up
Yes
thumb_down
No