Commit graph

99 commits

Author SHA1 Message Date
Sukhwinder Dhillon
1360e1e4a0 Avoid inline css 2023-08-08 11:39:24 +02:00
Johannes Meyer
2acf611812 process/show: Allow to adjust the order of nodes
Nodes can be ordered as usually by display name, but now also
in descending order. They can now also be ordered by state.

This also applies to manually ordered processes. Though, changes
to the manual order can only happen if the default order is
active. If that's not the case, a note is shown and a way to reset
the sort order.
2023-08-03 15:19:28 +02:00
Johannes Meyer
8b2bac4e85 MoveNodeForm: Instruct JS to refresh the target container
instead of letting JS refresh it on its own
2023-08-03 15:06:08 +02:00
Johannes Meyer
1ac87cb4ea Let all config forms extend BpConfigBaseForm
They're all too similar.
2023-08-03 15:06:08 +02:00
Sukhwinder Dhillon
b053a78a13 ProcessController: Add Show link for missing linked nodes 2023-08-01 15:30:43 +02:00
Sukhwinder Dhillon
21c1949b07 Introduce CleanupNodeForm action
This helps to clean orphaned (missing) nodes
2023-08-01 15:11:53 +02:00
raviks789
d4bd45233b Remove unnecessary checks to check if backend name is '_icingadb'.
Instead use (! $bp->hasBackendName()) check with 'And' condition.
2022-02-18 11:46:22 +01:00
raviks789
a5165ef476 Do not set Backend in Metadata to null in case icingadb module doesnot exist. 2022-02-18 10:06:59 +01:00
raviks789
7b41906881 Select default backend when icingadb is deactivated and the same when monitoring backend is deactivated 2022-02-03 16:56:46 +01:00
raviks789
69e879a745 Make changes to support the case when icingadb is set as the preferred backend. 2022-02-03 16:55:47 +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
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