Commit graph

25 commits

Author SHA1 Message Date
Sukhwinder Dhillon
55b0ddf8f6 BpConfig: Use icingadb backend
Use icingadb backend if configured in preferences or
monitoring module is disabled
2022-02-03 16:55:02 +01:00
Ravi Kumar Kempapura Srinivasa
efcea15ab6 Clean the scripts and resolve the comments
Clean the scripts to pass the phpcodesniffer tests and resolve the comments provided by Eric.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
1a0ddfb08b Add IcingaDB MySQL backend in businessprocess
IcingaDB MySQL backend is added to the businessprocess module to obtain information regarding monitored nodes.

ref #276
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
f5166f4348 Fix 'vsprintf(): Too few arguments' unexisting imported node exception
If the imported node does not exist, no arguments is  passed to BpConfig::addError() by ImportedNode::createFailedNode(). Added 'if' condition in BpConfig::addError() in case no arguments are passed to vsprintf.

refs #234
2020-02-26 15:09:17 +01:00
Johannes Meyer
eaf5b85538 Change how imported nodes are recognized
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
40538c51ce LegacyStorage: Add cache to avoid parsing configurations multiple times 2019-02-25 12:42:52 +01:00
Johannes Meyer
6f3ffe48e2 BpConfig: Only list each involved configuration once 2019-02-25 08:19:39 +01:00
Johannes Meyer
718a4305b4 NodeController: Show all processes affected by an impact
refs #143
2019-02-22 12:26:24 +01:00
Johannes Meyer
f0162278d6 BpConfig: Process node imports in hasNode() and getNode() 2019-02-22 12:26:24 +01:00
Johannes Meyer
42642c88d6 BpConfig: Flag imported configurations 2019-02-22 12:26:24 +01:00
Johannes Meyer
a681d7e393 Fix that imported nodes have no state, once and for all 2019-02-22 12:26:24 +01:00
Johannes Meyer
aa8f070a00 BpConfig: Don't die due to circular references 2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7 BpConfig: Delay processing of imported configurations
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Johannes Meyer
2123b41f83 Properly integrate imported nodes
* Fixed navigation flow
* Full tree rendering
2019-02-22 12:26:24 +01:00
Johannes Meyer
876a577e85 Don't sort processes in case manual sorting has been applied 2019-02-22 12:26:23 +01:00
Johannes Meyer
908dbd905f BpConfig: Don't ignore the Statetype header
fixes #112
2019-01-10 09:17:36 +01:00
Eric Lippmann
7c491496fa Use natcasesort 2018-08-13 13:30:33 +02:00
Eric Lippmann
059a59b119 Support exporting to CSV, JSON and PDF 2018-08-01 13:12:08 +02:00
Thomas Gelf
892780de96 doc/changelog: add a changelog 2017-02-20 15:16:33 +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
2f3e5fb419 BpConfig: allow access to a fake unbound base node
fixes #100
2017-02-20 14:19:52 +01:00
Thomas Gelf
0c395cc005 DeleteNode: use parent, not path
fixes #94
2017-01-27 14:57:57 +01:00
Thomas Gelf
dfd9ee74c3 BpUploadForm: completely refactor upload
It's much more comfortable and consists of two steps, upload - and a validation
allowing one to manually tweak the source before storing it.

fixes #8
2017-01-27 10:04:59 +01:00
Thomas Gelf
d87edba377 Just a couple of newlines to satisfy latest PSR2
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Renamed from library/Businessprocess/BusinessProcess.php (Browse further)