Commit graph

88 commits

Author SHA1 Message Date
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
Kotove
3cd3427e74
Add downtime flag into export results (#286) 2020-10-23 09:22:55 +02:00
Ravi Kumar Kempapura Srinivasa
1278480b6e Fix 'vsprintf(): Too few arguments' in ProcessController::showAction()
Before, we called printf twice because BpConfig::addError()
already makes use of printf. The exception only occured for
nodes that have a percent sign (%) in their name.

fixes #234
2020-02-26 15:09:17 +01:00
Johannes Meyer
d690c07ed8 process/show: Don't show the control separator when in fullscreen or on the dashboard 2019-02-26 08:57:46 +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
6ae4cf745c RenderedProcessActionBar: Don't allow to unlock imported nodes 2019-02-22 14:41:53 +01:00
Johannes Meyer
673135c0f3 Don't redirect after a successful move action but refresh 2019-02-22 12:26:24 +01:00
Johannes Meyer
195b3bf7b7 ProcessController: Don't unlock the renderer if fullscreen is enabled 2019-02-22 12:26:24 +01:00
Johannes Meyer
f58e1844a1 ActionBar: Remove h1 and adjust link labels 2019-02-22 12:26:24 +01:00
Johannes Meyer
b46a633d6d ProcessController: Provide a new set of parameters when redirecting 2019-02-22 12:26:23 +01:00
Johannes Meyer
c804177ca4 Also save user defined order of processes nodes while in tree view 2019-02-22 12:26:23 +01:00
Johannes Meyer
08bfbc462b Save user defined order of processes/nodes 2019-02-22 12:26:23 +01:00
Johannes Meyer
71fb738016 ProcessController: Properly handle spaces in node names 2019-02-14 14:26:20 +01:00
Johannes Meyer
327cb7c28c Allow to import processes from different configurations 2019-01-17 15:20:25 +01:00
Johannes Meyer
de3e0e5b6c process/config: Preserve display mode when storing changes 2019-01-17 14:57:38 +01:00
Johannes Meyer
19ae300aca lib: Remove all traces of Icinga\Module\Businessprocess\Html
refs #130
2019-01-17 13:21:46 +01:00
Thomas Gelf
8b7311591f Revert "Adjust tile navigation"
This reverts commit 50e18766f6.

refs #192
2018-12-12 16:36:09 +01:00
Eric Lippmann
50e18766f6 Adjust tile navigation
* Left to right tile drill down
* Actions redirect to main
2018-08-15 09:37:43 +02:00
Eric Lippmann
059a59b119 Support exporting to CSV, JSON and PDF 2018-08-01 13:12:08 +02:00
Eric Lippmann
f4a3fcc81b Close action form after successful submission 2018-07-31 12:50:25 +02:00
Jennifer Mourek
87b1d961bc Add functionality to edit node 2018-07-31 12:50:25 +02:00
Markus Frosch
651bb15041 ProcessController: Shorten list of missing nodes in UI 2017-05-31 14:24:17 +02: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
a9db4f9120 ProcessController: superfluous newline 2017-02-20 14:17:00 +01:00
Thomas Gelf
c4242f869b ProcessController: do not show edit forms...
...even if requested

refs #107
2017-02-08 17:56:38 +01:00
Thomas Gelf
e6722d9024 ProcessController: add missing permission checks
refs #107
2017-02-08 17:39:22 +01:00
Thomas Gelf
60d043cb18 Simulation: refactor the whole class
First step, more to come. Single node simulations should be moved to a
dedicated class of course

fixes #88
fixes #89
2017-01-26 22:09:38 +01:00
Thomas Gelf
a0a2a59bcd ProcessController: add help title for leaving...
...full screen mode
2017-01-25 10:12:00 +01:00
Thomas Gelf
c221c0becd ProcessController: it's "Business Process"
fixes #85
2017-01-25 09:11:25 +01:00
Thomas Gelf
845cb3462d ProcessController: improve config-related tabs...
...and actions
2017-01-12 09:18:44 +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
Thomas Gelf
75dc5e0ef6 ProcessController: use new LegacyConfigRenderer 2017-01-11 13:39:36 +01:00
Thomas Gelf
8f1ce049de MonitoringState: introduce new helper class
Removes logic from BusinessProcess class
2017-01-11 09:51:39 +01:00
Thomas Gelf
26d41a445d views/scripts: remove unified scripts 2017-01-08 23:09:22 +01:00
Thomas Gelf
e4043d94a2 ProcessController: improve download link 2017-01-03 11:43:22 +01:00
Thomas Gelf
40de5a2b4d ProcessController: provide edit action 2017-01-03 11:38:17 +01:00
Thomas Gelf
7e11ead8a8 ProcessController: unify view scripts for config...
...and diff
2017-01-03 11:32:02 +01:00
Thomas Gelf
898576f63a RenderedProcessActionBar: introduce new class...
...to keep ActionBar more generic
2017-01-03 11:12:20 +01:00
Thomas Gelf
e385a8cab2 php-diff: replace vendor lib 2017-01-03 11:03:30 +01:00
Thomas Gelf
8516e8749e DeleteNodeForm: add to process, add title 2016-12-17 19:22:04 +01:00
Thomas Gelf
46b452c014 ProcessController: fix lock negation 2016-12-17 19:19:19 +01:00
Thomas Gelf
c1802a8f59 ProcessController: title, cosmetics 2016-12-17 19:15:50 +01:00
Thomas Gelf
93f9a1ac26 ProcessController: restructure create & upload 2016-12-16 19:44:48 +01:00
Thomas Gelf
72e7aa798c Rendering: improve tile sizes, fullscreen mode 2016-12-09 16:59:25 +01:00
Thomas Gelf
b73eed20b0 ProcessController: change tab rendering and more 2016-12-09 16:10:32 +01:00
Thomas Gelf
f7f230c7a1 ProcessController: change default rendering mode 2016-12-09 14:38:47 +01:00
Thomas Gelf
4bda7e8493 ProcessController: one less helper method 2016-12-09 14:36:09 +01:00
Thomas Gelf
ce82446732 ProcessController: less work for BusinessProcess
Delegate locking to the renderer, config to the storage
2016-12-09 14:24:20 +01:00
Thomas Gelf
18dc398dca ActionBar: take over logic from controller 2016-12-09 13:57:07 +01:00