Smarts SAM: How to set up a two-step escalation policy, where a tool is run when a notification is created and a second tool is run when the notification is cleared
search cancel

Smarts SAM: How to set up a two-step escalation policy, where a tool is run when a notification is created and a second tool is run when the notification is cleared

book

Article ID: 322955

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How to set up a two-step Smarts SAM escalation policy, where a tool is run when the notification is created and a second tool is run when the notification is cleared.



To set up a two-step Smarts SAM Escalation Policy, do the following:
  1. Create an Escalation Policy filtering on required attributes.
  2. Create level 0, which lasts for the time notifications should be smoothed.
  3. In level 1, create a tool which executes a required action and sets a User Defined field.  The User Defined field is necessary for the second policy, which subscribes to inactive notifications. 
  4. Create a second Escalation Policy. The second policy will only process clears for notification that were acted upon by the first policy. This policy will filter on the same attributes as the first one, but will also filter on "Event State = INACTIVE" and on the User Defined field modified by the first policy.
  5. Create a tool for level 0 for the second policy to write the required attributes of notification to the same log file as the first policy.