Create an Alarm Notification Policy

Contents
casp1032
An alarm notification policy specifies the alarm types that an alarm-processing application receives and filters the unwanted alarms. You can create alarm notification policies to determine which applications receive alarms of the types you select.
Follow these steps:
  1. Click the Locater tab in the Navigation panel of the OneClick Console.
  2. Select All Applications under SANM, and click the search icon SPEC--launchsearch_ICO (9.2).
    The Select Landscapes to Search dialog opens.
  3. Select the landscapes to include in your search, and click OK.
    The available applications and the policy that they are using appear in the Contents panel on the right. The policy details appear in the Component Detail panel below the Contents panel.
    Run AlarmNotifier at least once. Otherwise, the search returns no models. The AlarmNotifier file is located in the <
    $SPECROOT
    >/Notifier directory.
  4. In the Component Detail panel, click the link to create or set policy under General Information.
    The Select Policy dialog opens.
  5. Click Create.
    The Create SANM Policy dialog opens.
  6. Enter the policy name in the Name text box.
  7. (Optional) Create one or more filters to associate with the new policy.
    We recommend assigning policy names that indicate when the policy is used. For example, use a name like 'ciscoRtrPM' so that you can identify Cisco router policies in a collection.
  8. Click OK.
    The new policy is created.
Define a Filter For a Policy
You can define alarm notification policy filters that refine notification policies. A filter must be associated with a policy. Filters include parameters to include or exclude alarms by severity and by device type. You can set filters for alarms of specified types, on specified landscapes, or in specified topologies.
The Model Name filter for SANM Policy is case sensitive.
Follow these steps:
  1. Click the Locater tab in the Navigation panel of the OneClick Console.
  2. Select All Applications under SANM and click the search icon SPEC--launchsearch_ICO (9.2).
    The Select Landscape to Search dialog opens.
  3. Select the landscapes you want to include in your search and click OK.
    The available applications and the policy they are using appear in the Contents and Component Detail panels on the right.
  4. In the Component Detail panel, click the create/set policy link in the General Information subview.
    The Select Policy dialog opens.
  5. Click Create.
    The Create SANM Policy dialog opens.
  6. Click the Add button.
    The Add Filter dialog opens.
  7. Enter the following information:
    • Name
      Defines the new filter name.
    • Notes
      (Optional) Describes the filter.
    • Age Time
      (Optional) Indicates the time for which the filter holds the alarm. The alarm passes to the alarm processing application after the age time.
      If the alarm must pass multiple filters with different ages, SANM uses the shortest, non-zero alarm age interval.
    • Notification Data
      (Optional) Defines the data that is sent with the alarm notification.
    DX NetOps Spectrum
    can differentiate the filter based on Alarm Severity, Landscape, Model Type e.t.c, but can not be differentiated with the Age out time.
    For example, If an alarm comes for the same device (modeled on same landscape) with same severity, and if same policy is applied with two different filters, then the alarm passes through the filter with minimum age out and will not pass through the higher age out filters. Since the minimum age out criteria is already met, the higher age out filters is ignored. But
    DX NetOps Spectrum
    still collects the notifications from other higher age out filters and sends them to all.
  8. Define parameters for your filter:
    1. (Optional) Select the Landscapes tab to define the landscapes for the filter. To define the landscape, select servers in the Include and Exclude lists. You can move servers between the Include and Exclude lists by using the arrow buttons provided.
      OneClick combines the Landscapes and Servers parameters of the legacy SANM UI into a single parameter, Landscapes.
    2. (Optional) Select the Severity tab to define the alarm severity to include or exclude. To define the severity, select alarm severity levels from the Include and Exclude lists.
    3. (Optional) Select the Device Type tab to specify the device types for the filter, as follows:
      • Select an option to see the lists of device types to Include or Exclude.
      • Enter a device type and click Add to add it to the included or excluded list.
        Enter the name of an existing device type, or the name of a device type that you plan to create.
      • Click Browse to select from a list of existing device types.
      • Select a device type and click Remove to remove it from the list.
      • Select a device type and click Modify to edit that device type.
    4. (Optional) Select the Collections tab to specify the collection of policies for the filter. Alarms on devices that are in these collections are filtered. The steps to include, exclude, add, remove, modify, and browse for containers are the same as for the previous tab.
    5. (Optional) Select the Topology tab to specify the topology containers for the filter. Alarms on devices that are in these topologies are filtered. The steps are the same as for the previous tabs.
    6. (Optional) Select the Alarm Type tab to include or exclude alarms of specific types.
    7. (Optional) Select the Model Type tab to include or exclude models of specific types.
    8. (Optional) Select the Location tab to specify location containers for the filter.
      Alarms on devices that are in these locations are filtered.
    9. (Optional) Select the Organization tab to specify the organization containers for the filter.
      Alarms on devices that are in these organizations are filtered.
    10. (Optional) Select the IP Address/Range tab to specify the Internet Protocol (IP) addresses for the filter.
      SANM only passes alarms that are generated within the specified network, subnet, or IP address range to the alarm processing application.
    11. (Optional) Select the Model Name tab to specify the model names for the filter.
  9. Click OK.
    The new filter is defined.
    If you create a filter with multiple parameters, you create an AND condition. As a result, all of the parameters must return TRUE for the filter to return any results. To create an OR condition, create two filters, each with a different filter parameter.
  10. Enter a name for the new policy in the Name field of the Create SANM Policy dialog, and click OK.
We recommend assigning policy names that indicate when the policy is used. For example, use a name like 'ciscoRtrPM' so that you can identify Cisco router policies in a collection.
The new policy is created.
Add a Filter to an Existing Policy
You can add a filter to an existing policy.
Follow these steps:
  1. Click the Locater tab in the Navigation panel of the OneClick Console.
  2. Select SANM, All Policies and click the search icon SPEC--launchsearch_ICO (9.2).
    The Select Landscapes to Search dialog opens.
  3. Select the landscapes that you want to include in your search and click OK.
    The existing polices display in the Contents panel on the right.
  4. Select the policy for which you want to add a filter.
    The policy details display in the Component Detail panel.
  5. Expand the Filters menu under the Information tab in the Component Detail panel.
  6. Click the icon spec--SANM_add_a_filter_icon.
    Opens a dialog (Add a Filter) to add a filter to this policy.
  7. Enter the filter information as explained in Define a New Filter and save the information.
    The filter is added to the policy.
Change the Filter Order
You can change the order in which the filters that are associated with a policy are processed.
This feature applies only to Notification Data. For instance, if Notification Data on filter 1 has [email protected], and filter 2 has [email protected], the alarm notifier returns [email protected]:[email protected] If you change the order, the output is [email protected]:[email protected]
Follow these steps:
  1. Click the Locater tab in the Navigation panel of the OneClick Console.
  2. Select SANM, All Policies, and click the search icon SPEC--launchsearch_ICO (9.2).
    The Select Landscape to Search dialog opens.
  3. Select the landscapes to include in your search, and click OK.
    The existing policies appear in the Contents panel on the right.
  4. Select a policy whose filter order you want to change.
    The policy details appear in the Component Detail panel below the Contents panel.
  5. Expand the Filters menu under the Information tab.
  6. Click the icon spec--SANM_change_filter_order_icon.
    Opens a dialog (Set Order) to set the Notification data order.
  7. Select a filter.
  8. Use the arrow buttons to move the filter up or down in the order, and click OK.
    The filter is processed according to the new order.