The base-systemSR Ops application supports the actions of sending notifications when an alert is received and when an incident is created. You can define both custom actions and custom conditions that
trigger an action. Control when a flow takes a specific decision outcome or waits for a specific resume event.
Vorbereitungen
Role required: sro_admin or sro_manager
Prozedur
Navigate to All > Site Reliability Operations > Service Health > Conditions.
The Condition form opens.
On the Condition form, click New.
On the form, fill in the fields.
Tabelle : 1. Condition form
Field
Description
Name
Name for the condition.
Description
Description of the condition that will help others to
understand its purpose.
Applies to
Type of entity against which the condition must be
applied.
Type
Type of condition:
Criteria: Set of parameter:value pair conditions to
apply against the data.
Script: Code that applies the condition against
data.
Conditions
Set of parameter:value pair conditions to apply against
the data. Select parameters and values to create conditions
and logical operators to join conditions.
This option
appears only if the Type value is
Criteria.
Script
Code that applies the condition against data.
This
option appears only if the Type
value is Script.
Click Preview to apply the condition to current
data.
The system returns a link that indicates how many records match the condition.
Click the link to view the results.
When you finish defining the condition, click
Submit.
Beispiel
This example condition matches only critical alerts.
Abbildung : 1. Example of the critical-only alerts condition