Sukhwinder Dhillon
9e67b56bca
RenderedProcessActionBar: Remove unused constructor param $auth
2023-08-24 13:04:29 +02:00
Johannes Meyer
890df4be7c
Re-introduce class EditNodeForm
...
Rewritten from scratch. Now with ipl-form compatibility.
2023-08-09 16:13:01 +02:00
Johannes Meyer
1b837c72a3
Drop class EditNodeForm
2023-08-09 16:13:01 +02:00
Johannes Meyer
4aac658089
process/show: Utilize the new AddNodeForm
2023-08-09 16:13:01 +02:00
Johannes Meyer
b84405180c
Add new endpoint for node suggestions
2023-08-09 16:13:01 +02:00
Johannes Meyer
cb83f800b9
Drop class AddNodeForm
2023-08-09 16:13:01 +02:00
Sukhwinder Dhillon
25f37d6575
Use unescaped node name for missing children
2023-08-09 15:56:34 +02:00
Sukhwinder Dhillon
af4b98faeb
Use fontawesome icons with ipl\Web\Widget\Icon class everywhere
2023-08-08 12:24:29 +02:00
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
Johannes Meyer
13330d3a44
Don't cast url to string if it's internally transformed again
...
Also, the cast encodes the url as well, for use within HTML.
This is not required if used in conjunction with ipl-html.
2023-08-03 10:59:23 +02:00
Sukhwinder Dhillon
834005f7b4
Don't break impact-action page if bp has invalid config
...
- Add message for invalid config
2023-08-03 10:57:14 +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
4ca8c72a05
Show service and host nodes for filtered roles
...
The service and host nodes must be shown, but clicking on these nodes should show
"Access Denied" page.
2022-09-14 09:52:23 +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
daf0384e66
Use $isIcingadbPreferred to check if the businessproces preders icingadb as default backend.
2022-02-18 10:06:59 +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
6ebaedccf4
Add moduleInit() method to HostController and ServiceController to check if icingadb is used.
...
Use moduleInit() to check whether icingadb to be used.
Also use ipl\Stdlib\Filter with $query->filter() instead $query->getSelectBase()->where() in case of icingadb.
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
raviks789
685f44d118
Change class name IcingaDbBackend to IcingaDbObject
2022-02-03 16:55:02 +01:00
raviks789
df72ff65be
Move enumHostListByFilter and enumServiceListByFilter to EnumList trait.
...
Move enumHostListByFilter and enumServiceListByFilter to EnumList trait from AddNodeForm and change fetchServices and fetchHosts
method to work with filters in IcingaDbBackEnd class.
Also, applyMonitoringRestriction is changed to applyIcingaDbRestrictions in IcingaDbBackend.
2022-02-03 16:55:02 +01:00
Ravi Kumar Kempapura Srinivasa
d1526a36cb
Address the comments on IcingaDbState and the Controllers
...
Address the comments from Eric in the pull request on IcingaDbState, Web/Controller, HostController and ServiceController.
2022-02-03 16:54:01 +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
0fbb8956e9
node/impact: Don't show colored background for breadcrumbs
...
There are stateballs now.
2019-02-26 15:06:02 +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
21980a394f
NodeController: Also show impact on imported sub processes
2019-02-25 15:09:34 +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
ff2274c048
node/impact: Fix that a process' state is not displayed
2019-02-22 12:26:24 +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
8465bc0bc3
LegacyConfigParser: Establish parent-child relationships
...
This replaces commit d1f32c5 as this is the more efficient
and proper solution.
refs #134
2019-02-22 12:26:24 +01:00
Johannes Meyer
e0529ee844
Revert "Node: Aggregate parents if none are registered yet"
...
This reverts commit d1f32c59f1 .
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
d1f32c59f1
Node: Aggregate parents if none are registered yet
...
fixes #134
2019-02-19 11:02:08 +01:00
Johannes Meyer
324a6e898d
node/impact: Show message if no impact is detected
...
fixes #160
2019-02-19 08:45:39 +01:00
Alexander A. Klimov
3985f67fe7
Fix "Host not found" error
...
refs #147
2019-02-18 13:54:39 +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