mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
doc: Add chapter for state overrides
This commit is contained in:
parent
49ebbc4cdb
commit
ec54b6df57
4 changed files with 45 additions and 0 deletions
45
doc/07-State-Overrides.md
Normal file
45
doc/07-State-Overrides.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# State Overrides
|
||||
|
||||
Business processes utilize their children's states to calculate their own state.
|
||||
While you can influence this with [operators](09-Operators.md), it's also possible
|
||||
to override individual states. (Currently this applies only to service nodes.)
|
||||
|
||||
## Configuring Overrides
|
||||
|
||||
State overrides get configured per node. When adding or editing a node, you can
|
||||
define which state should be overridden with another one.
|
||||
|
||||
Below `WARNING` is chosen as a replacement for `CRITICAL`.
|
||||
|
||||

|
||||
|
||||
## Identifying Overrides
|
||||
|
||||
In tile view overridden states are indicated by an additional state ball in the
|
||||
lower left of a tile. This is then the actual state the object is in.
|
||||
|
||||

|
||||
|
||||
In tree view overridden states are indicated on the very right of a row. There
|
||||
the actual state is shown and which one it is replaced with.
|
||||
|
||||

|
||||
|
||||
## File Format Extensions
|
||||
|
||||
The configuration file format has slightly been changed to accommodate state
|
||||
overrides. Though, previous configurations are perfectly upwards compatible.
|
||||
|
||||
### New Extra Line
|
||||
|
||||
For process nodes a new extra line is used to store state overrides.
|
||||
|
||||
```
|
||||
state_overrides dev_database_servers!mysql;mysql|2-1
|
||||
```
|
||||
|
||||
The full syntax for this is as follows:
|
||||
|
||||
```
|
||||
state_overrides <process>!<child>|n-n[!<child>|n-n[,n-n]]
|
||||
```
|
||||
BIN
doc/screenshot/07_state_overrides/0701_override_config.png
Normal file
BIN
doc/screenshot/07_state_overrides/0701_override_config.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
BIN
doc/screenshot/07_state_overrides/0702_overridden_tile.png
Normal file
BIN
doc/screenshot/07_state_overrides/0702_overridden_tile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
doc/screenshot/07_state_overrides/0703_overridden_tree.png
Normal file
BIN
doc/screenshot/07_state_overrides/0703_overridden_tree.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Loading…
Reference in a new issue