icingaweb2-module-businessp.../doc/09-Operators.md
2022-02-18 11:41:06 +01:00

33 lines
1 KiB
Markdown

# Operators <a id="operators">
Every Business Process requires an Operator. This operator defines its behaviour and specifies how its very own state is
going to be calculated.
## AND <a id="and-operator">
The `AND` operator selects the **WORST** state of its child nodes:
![And Operator](screenshot/09_operators/0901_and-operator.png)
## OR <a id="or-operator">
The `OR` operator selects the **BEST** state of its child nodes:
![Or Operator](screenshot/09_operators/0902_or-operator.png)
![Or Operator #2](screenshot/09_operators/0903_or-operator-without-ok.png)
## DEGRADED <a id="deg-operator">
The `DEGRADED` operator behaves like an `AND`, but if the resulting
state is **CRITICAL** it transforms it into a **WARNING**.
Refer to the table below for the case-by-case
analysis of the statuses.
![Degraded Operator](screenshot/09_operators/0905_deg-operator.jpg)
## MIN n <a id="min-operator">
The `MIN` operator selects the **WORST** state out of the **BEST n** child node states:
![MIN](screenshot/09_operators/0904_min-operator.png)