Eric Lippmann
024d537272
Merge pull request #169 from Icinga/fix/minimum-worst-state
...
BpNode: Use worst state in minimum state calculation
2018-07-02 17:24:18 +02:00
Markus Frosch
9120449acb
BpNode: Use worst state in minimum state calculation
...
Ensure we use the worst state within a minimum condition, previously we
did use the Xth best.
refs #167
2018-03-20 16:59:13 +01:00
Markus Frosch
98cc43f01b
BpNode: Count missing nodes in getStateSummary
...
Children that are missing should increment the counter, as well as
if no children are present.
So it's easy to find missing nodes following the counters.
2017-06-01 16:51:22 +02:00
Thomas Gelf
ad1ff7af91
BpNode: use loop detection when checking for...
...
...missing children
fixes #121
2017-03-21 11:30:49 +01:00
Thomas Gelf
98bd02c164
Node: clear missing when setting state
2017-02-20 15:01:10 +01:00
Thomas Gelf
14e30e4741
BpNode: set missing to unknown before fetching...
...
...sorting state
refs #105
2017-02-20 14:57:17 +01:00
Thomas Gelf
9750e13234
BpNode, process/show: error for missing children...
...
...and unknown as state
fixes #105
2017-02-20 14:47:30 +01:00
Thomas Gelf
61fd8caa93
BpNode: add a new helper method
2017-01-27 15:32:08 +01:00
Thomas Gelf
5f6b35906d
AddNode: fix creating nested nodes
...
fixes #13883
2017-01-11 17:38:19 +01:00
Thomas Gelf
22583aa083
BpConfig: renamed from BusinessProcess
2017-01-11 14:09:30 +01:00
Thomas Gelf
149696fb50
BpNode: remove code related to legacy config
2017-01-11 13:40:42 +01:00
Thomas Gelf
9c22289bf3
BpNode: tweak hasInfoUrl()
2017-01-03 11:27:58 +01:00
Thomas Gelf
8bd1e10f95
DeleteNode: quite some rework, provide more...
...
...possibilities, remove "not implemented" exception
2017-01-03 11:23:05 +01:00
Thomas Gelf
c856a6fc26
BpNode: add comment to better reflect what's...
...
...going on. We are unknown when state calculation fails, not for empty
processes - related git commit message was misleading
2016-12-16 19:47:36 +01:00
Thomas Gelf
76a526d8dd
BpNode: let empty processes be unknown
2016-12-16 19:41:22 +01:00
Thomas Gelf
857913172b
BpNode: use modified loop detection everywhere
2016-11-29 11:22:44 +01:00
Thomas Gelf
ca16f22a62
BusinessProcess/Nodes: some cleanup
2016-11-29 11:20:54 +01:00
Thomas Gelf
cbf8db3073
BpNode: free loop detection from side-effects
2016-11-29 11:11:43 +01:00
Thomas Gelf
60b66e89b0
TreeRenderer: new renderer, LOTS of cleanup
2016-11-29 00:34:28 +01:00
Thomas Gelf
e311d086cc
BpNode: add id helper
2016-11-28 17:30:27 +01:00
Thomas Gelf
a00fdab37f
Cleanup, Url handling improvements, some helpers
2016-11-26 21:18:18 +01:00
Thomas Gelf
8c05ed7277
Test and implement loop detection
...
fixes #9786
2016-11-24 10:57:30 +01:00
Thomas Gelf
b8df6a8823
BpNode: rename child_nodes to childNode...
...
...and move method related to children from base Node
2016-11-24 02:40:01 +01:00
Thomas Gelf
afcf42e871
phpcs: some more
2016-11-23 15:17:25 +01:00
Thomas Gelf
ac82187f5b
BpNode: fix error for missing children
2016-11-23 15:17:25 +01:00
Thomas Gelf
93fff13209
(Bp)Node: add get/hasMissingChildren method
2016-11-23 15:17:25 +01:00
Thomas Gelf
1e45dabe02
BpNode: getProblemTree and related methods
2015-11-19 14:49:52 +01:00
Thomas Gelf
bf5b3424be
BpNode: provide also host state types in summary
2015-10-06 22:35:00 +02:00
Thomas Gelf
1088f877c1
BpNode: fix parent signature
2015-10-06 09:17:16 +02:00
Thomas Gelf
675b74ada9
Node: provide generic helpers
2015-10-06 08:59:22 +02:00
Thomas Gelf
4a790976af
Introduce the NOT operator (!)
...
refs #10315
2015-10-05 16:50:33 +02:00
Thomas Gelf
3009a28d3d
BusinessProcess, BpNode: improve legacy storage
...
Before this fix depending on tree structure processes used multiple
times as a sub-node could have been stored multiple times, resulting
in warnings at render time.
2015-10-05 16:40:08 +02:00
Thomas Gelf
8de13f06b2
BpNode: clean up, remove legacy constructor comments
2015-10-05 12:39:37 +02:00
Thomas Gelf
64bab3f8da
Node: remove implementation-specific logic
2015-10-05 12:34:47 +02:00
Thomas Gelf
a97073334c
BpNode: move state-related logic to base Node
2015-10-05 08:42:59 +02:00
Thomas Gelf
e242742deb
BpNode: dedicated methods for state transformation
2015-10-02 21:41:20 +02:00
Thomas Gelf
951d4d0ab0
BpNode: calculate latest state change
2015-10-02 08:32:54 +02:00
Thomas Gelf
c36fd5024e
BpNode: handle "display" numeric
2015-03-16 13:18:19 +01:00
Thomas Gelf
fc29d7edf9
BpNode: no link for unbound root node
2015-03-16 13:12:20 +01:00
Thomas Gelf
e057e61567
editor: sorry, monster commit :)
2015-03-16 09:08:00 +01:00
Thomas Gelf
d243271462
BusinessProcess: avoid duplicates when stored
2015-03-03 12:51:03 +01:00
Thomas Gelf
7d31250816
BpNode: unique operator validation
2015-03-03 11:06:54 +01:00
Thomas Gelf
19ab1a28cc
BpNode: show full process missing if childs are so
2015-03-03 11:00:15 +01:00
Thomas Gelf
6cad8bb9cb
BpNode: fix "display" when rendering config
2015-03-02 18:21:08 +01:00
Thomas Gelf
809a1957de
BpNode: useless newline
2015-02-13 01:52:47 +01:00
Thomas Gelf
8795c2b06e
BpNode: use ConfigurationError
2015-02-07 01:30:43 +01:00
Thomas Gelf
0b21659727
BpNode: use prio from display
2015-02-07 01:30:43 +01:00
Thomas Gelf
5ccece80ac
BpNode,BusinessProcess: render legacy config
2014-12-02 11:38:42 +01:00
Thomas Gelf
e0d7daaf90
BpNode: provide alias name
2014-12-01 19:32:09 +01:00
Thomas Gelf
d1739e171f
bpapp: rename to businessprocess
2014-11-30 15:56:58 +01:00