Scope Example: Data Protection: ServiceNow Jobs
Rule | ServiceNow: Job Finalized |
Scenario | This scenario assumes that the ServiceNow for Backup Solution app is installed and configured. Monitor all Veritas NetBackup backup jobs for your Info Dev department for the policy named FirstCatalogPolicy and have an Exit Status Code of 123, 456, or 789. If this alert is triggered, a ServiceNow incident is created within the ServiceNow application. |
Navigate to Alerts > > Alert Policy Administration.
Click .
Choose the Alert Rule: ServiceNow: Job Finalized. Double-click or click Continue to advanced to the next screen.
Name the Policy and set the Symptom Frequency to Every time.
Choose or create the notification for a Warning and Critical Alert. Alert Notifications must be defined before the Alert Policy is created to select them for alerts. You can also click Add Alert Notification and define it when you configure the Alert Policy.
Under the Scope heading, click the Edit icon.
On the Groups tab, filters are displayed. Click the required filters to expand.
Note:
For example: Click All Products and double-click Veritas NetBackup to add to the scope.
Click the Exit Status tab. For the ServiceNow:Job Finalized alert rule, Exit Status is mandatory.
To include comma separated list of Exit Status in the Alert Scope, choose comparison operator is member of and add comma separated list of Exit Statuses in the text box such as 19,203,112.
Click Add Query. This add your filter selection as the next row in the Alert Policy Selected Scope. If your query is multiple lines, you can use the Filter Logic field to customize the filter expression order and the operators. Logic defined in this field will override any setting established on the top of the dialog. Use the numbers on the left of the filter expressions to construct your Filter Logic.
Edit the logic using the filter numbers and by adding parentheses or changing the operators. For example, you can change "1 AND 2 OR 3" to "1 AND (2 OR 3)".
Click Show Resolved Scope. This lists everything in your datacenter that meets the criteria defined in your Selected Scope.
Enable the Alert Policy by clicking the Activecheckbox beside the Alert Policy Name field.
Click Save. The Alert Policy is displayed on the Alert Policy Administration page.