Define Basic Settings for Incoming Incident Type
- Click
and select Triggered Automation Manager.
- In Triggered Automation Manager, click the Incoming Incident Type tab and Add Incoming Incident Type.
- In the New Incoming Incident Type window, define the basic settings:
• Name: a unique name for the incoming incident type, such as Interface Error Check, BGP Down, etc.
• Description: an optional field to describe the Incident.
• Source: select an Integrated IT system, such as ServiceNow.
• Category: select a source category, such as Incident (Incident ticket from ServiceNow).
• Condition: defining which API calls of this category coming from the source belongs to this Incident Type.
To define a simple condition:
- Select a data field of the API call, for example, Short_description.
- You can also create a custom variable to retrieve the value from the data field by regular expression. The custom variable starts with $. For more information, see Custom Variable in TAF.
- You can also create a custom variable to retrieve the value from the data field by regular expression. The custom variable starts with $. For more information, see Custom Variable in TAF.
- Select an operator (contains, does not contain, matches, does not match, is not null). For example, you can choose Contains.
- Enter a keyword. For example, you can enter Interface error.
Tip: You can combine multiple simple conditions with the standard Boolean AND/OR operations.
Custom Variable in TAF
Apart from selecting existing data field, custom variable can be defined for an incident type in TAF to retrieve the value from the data field when conditions are defined for matching the API call with incident type in NetBrain.
In TAF, you can define custom variable as you define incoming incident type or define triggered diagnosis.
- Define custom variable when create/edit incoming incident type.
- Define custom variable when defining triggered automation.
Example: You can create a custom variable to retrieve the value from the data field by regular expression. The following example aims to get the device information (for example "Device: BJ-R1") from the description of the original ticket
- Click
of Condition A in the Condition section, then select Custom Variable.
- In the pop-up window, define the following:
- In the Variable field, type the variable name "$device" for the custom variable (note that the custom variable starts with $).
- In the Parser field, set to parse "Description" data by regular expression "^[^#]*Device: ([\S]*)$".
- Click OK. Then you will get the device variable value "BJ-R1".