Modify the default notification list
search cancel

Modify the default notification list

book

Article ID: 327652

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Modifying the default notification list

Environment

SMARTS SAM - 10.1.X

Resolution

You can modify the default Smarts SAM notification list in two ways. One method affects domains that have already been created, while the other method affects domains before they are created.

Modifying the default Smarts SAM notification list in existing domains
To modify the Smarts SAM notification list in domains that have already been created, do the following:

  1. Log in to the Global Manager Administration Console of your SAM domain.
  2. Expand the Notification Lists group.
  3. Select Default and click the Edit Filter button.
  4. In the Edit Filter window you may select the attributes you wish to use in your filter.
  5. Press the + button to add a new attribute to use in the filtering.
  6. Select an attribute.
  7. Enter matching criteria (the helper can be very useful in auto filling this for you).
  8. Click okay.
  9. Click Apply.
  10. The change should apply immediately in the environment. There should be no need to reconfigure the SAM.

Your domain should now be running with this new Notification List

Modifying the default Smarts SAM notification list before domain is created
To modify the Smarts SAM notification list before a domain has been created, do the following:

  1. Navigate to the <BASEDIR>/SAM/smarts/conf/ics folder and open the ics-default.xml for editing
  2. Find the section that starts with  <nlconfig..>  This marks the beginning of a Notification List filter.
  3. Look for the filter you want to modify (i.e. <nlconfig name="Default" enable="TRUE"> for modifying the default Notification List).
  4. To add a new AND relationship to the filter enter inside the  <filterconfig type="EXPRESSION"> a new <criterion attribute="[Insert Attribute]">[Insert Criteria]</criterion>
  5. To add an OR relationship (new sheet) you create a new bock of <filterconfig type="EXPRESSION">  </filterconfig> just below the first block.  (See example in the Additional Information of this Article. Fill in the desired criteria in the new block of <filterconfig> using the same methods used in the previous block).
  6. Save the changes to the ics-default.xml file.

Any new domains you start up that do not have RPS to restore from will now be created with these new default Notification Lists.




Additional Information

Example of  OR relationship (2 sheets) for Notification Lists:

<nlconfig name="Default" enable="True">
            <filterconfig type="EXPRESSION">
                    <criterion attribute="Owner">~SYSTEM</criterion>
                    <criterion attribute="Class">~Host</criterion>
            </filterconfig>
            <filterconfig type="EXPRESSION">
                    <criterion attribute="Event">~Down</criterion>
            </filterconfig>
</nlconfig>