Previous Topic: Find a ViewNext Topic: Assign an Alert Policy to a View Using the View Editor


Assign an Alert Policy to a View in VMC

You can assign an alert policy to a view in the View Management Console. When the alert policy is added to a view filter definition, only job alerts belonging to the view are monitored. An alert policy can be assigned to one or more views.

Note: If an alert policy is defined to a specific server and to a specific view, only the alerts for jobs in the view are displayed in the view Alerts table. The server defined in the alert policy is ignored. However, all alerts for the server defined in the alert policy are displayed in the server Alerts table.

Follow these steps:

  1. Find an existing view.
  2. Right-click the view name and select Edit in VMC from the pop-up menu.

    The View Management Console dialog opens, displaying the view definition.

  3. Add the alert_policy attribute to the end of the filter definition and enter the policy name.

    For example, alert_policy: FailedJobs

    Note: Multiple names can be entered, separated by commas.

  4. Click Execute.

    CA WCC verifies the validity of the view definition. If the validity check encounters problems, a message is displayed describing the error. If the validity check succeeds, the commands are executed and the view is created.

  5. Click Close.

    The View Management Console dialog closes.

Example: Assign an Alert Policy to a View Using the View Management Console

The following filter definition assigns two alert policies to the MyView1 view on server AS1. All alerts matching the policies FailedJobs and TerminatedJobs are displayed in the view.

insert_filter: AS1
view: MyView1
filter: job_name like Backup*
alert_policy: FailedJobs, TerminatedJobs
active: true

More information:

Find a View

Create a View Using VMC

How to Create and Assign an Alert Policy to a Custom View

Create an Alert Policy in VMC

Alert Policies