mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-26 09:19:35 -05:00
43 lines
1.5 KiB
Markdown
43 lines
1.5 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:
|
|
|
|

|
|
|
|
## OR <a id="or-operator">
|
|
|
|
The `OR` operator selects the **BEST** state of its child nodes:
|
|
|
|

|
|
|
|

|
|
|
|
## XOR <a id="xor-operator">
|
|
|
|
The `XOR` operator shows OK if only one of n children is OK at the same time. In all other cases the parent node is CRITICAL.
|
|
Useful for a service on n servers, only one of which may be running. If both were running,
|
|
race conditions and duplication of data could occur.
|
|
|
|

|
|
|
|

|
|
|
|
## 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.
|
|
|
|

|
|
|
|
## MIN n <a id="min-operator">
|
|
|
|
The `MIN` operator selects the **WORST** state out of the **BEST n** child node states:
|
|
|
|

|