Build complex conditions in the SolarWinds Platform
This topic applies only to the following products:
SolarWinds Observability Self-Hosted
DPAIM — IPAM — LA — NAM — NCM — NPM — NTA — SAM — SCM — SRM — UDT — VMAN — VNQM — WPM
Complex conditions are generally enabled by users who are comfortable with building normal trigger conditions, or who have trialed alerts using the normal trigger conditions and require more control over the trigger conditions to better refine the environmental conditions that trigger an alert.
Do not use complex conditions until you have tested the trigger conditions individually. Creating an alert with complex conditions without testing it may prevent you from receiving important alerts.
-
Navigate to the Trigger Condition page.
-
Expand Advanced options.
-
Select Enable complex conditions.
You can use complex conditions to do the following:
Specify the number of objects that must meet the trigger condition at the same time for the alert to trigger
With complex conditions enabled, you can choose to trigger alerts only when multiple objects meet the trigger condition.
After you have enabled complex conditions, the following option is available in your trigger condition:
Select the box and specify the minimum number of objects that must meet the condition at the same time in order for the alert to trigger.
Do not use this setting until you are confident that the trigger condition is correct. This setting can prevent important alerts from triggering.
Evaluate multiple condition blocks
You can use complex conditions to evaluate multiple condition blocks, or sections, independently. For example, you may want to create an alert when an application is down and when your fail-over server is active for more than an hour.
- Enable complex conditions.
- Click Add Section.
- Select And then after from the drop-down menu between the two condition sections.
- Choose how long to wait before evaluating the next section.
- Create the next condition block.
How condition blocks are evaluated
The condition blocks are evaluated at the same time. If they are all true based on the conditions, the alert triggers. For example, condition A, B, and C must be true in order for the alert to trigger.
(Condition A) & (Condition B) & (Condition C)
Condition blocks are evaluated using variations of AND, so the trigger condition in each section must be met.
A condition block can be evaluated at a different time than other condition blocks. For example, if you want to be alerted if the backup system is active for more than an hour, you can choose to wait an hour after the primary condition block, where the application going down is the trigger condition, before evaluating whether the backup system is still active.
Evaluate multiple object types
o evaluate multiple object types, you should use complex conditions. Complex conditions can be used to alert on different object types within the same alert. For example, you can create an alert to notify you when IIS is down and the free space on the volume is less than 30 GB.
Do not use complex conditions until you have tested the trigger conditions individually.
- Enable complex conditions.
- Click Add Section.
- Choose a different value in I want to alert on.