Smarts SAM Adapters: Trap notifier is not sending change trap notifications when a user acknowledges or unacknowledges an event
book
Article ID: 332103
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms: Smarts SAM Adapters: How can the Trap Notifier Adapter be configured to send a trap when a notification is acknowledged or unacknowledged?
Smarts SAM Adapters Trap Notifier Adapter is not sending a change trap notification when a user acknowledges or unacknowledges an event Acknowledging or Unacknowledging an event in SAM does not send a trap to a Manager of Manager such as Netcool
Environment
VMware Smart Assurance - SMARTS
Cause
By default, the notifiy.asl ASL file ignores NL_CHANGE events. Since Acknowledge and Unacknoledge are both NL_CHANGE events, the trap is not triggered.
Resolution
To change this default behavior, please modify the rules/notifier/notify.asl ASL file as follows:
Find the following entry in the notify.asl ASL file:
do { if (currentEvent->icType == "NL_CHANGE" "" currentEvent->icType == "NL_DELETE") { return; }
Change this "do" code block so that it matches the following:
do { // if (currentEvent->icType == "NL_CHANGE" "" if (currentEvent->icType == "NL_DELETE") { // currentEvent->icType == "NL_DELETE") { return; }
Save and close the notify.asl ASL file.
Restart the trap notifier to apply the change in the active environment.