Johannes Meyer
c2e06aca0a
TreeRenderer: Use Icinga Web's collapsible implementation now
...
resolves #254
2023-07-24 15:57:06 +02:00
Sukhwinder Dhillon
2f730cc526
Display node name if alias is missing
...
This fixes the issue that the name of a missing monitoring node is
not displayed in forms and in Tree/Tile view.
2023-07-24 14:31:17 +02:00
Sukhwinder Dhillon
5b4056e1b2
ServiceNode: getAlias() returns null if host or service alias is null
2023-07-24 14:31:17 +02:00
Sukhwinder Dhillon
83194e4942
Drop support for external_info and extra_info flag
2023-07-19 13:34:39 +02:00
Sukhwinder Dhillon
be2473864b
Introduce new XOR (^) operator
2023-07-13 10:19:08 +02:00
Sukhwinder Dhillon
77075d5c64
Don't show process id if display name exists
2023-07-12 11:54:36 +02:00
Sukhwinder Dhillon
ecdd51b6a0
LegacyConfigParser: Ignore empty lines in parseHeaderLine()
...
- Otherwise the index 0 of the empty line in elseif cannot be checked, which leads to an error
2023-07-12 11:26:14 +02:00
Sukhwinder Dhillon
4143019412
IcingaDbState: last_state_change is now a DateTime Obj
...
ref https://github.com/Icinga/icingadb-web/pull/753
2023-06-06 15:07:04 +02:00
raviks789
da2ed1aef4
Prevent deletion of referenced BP config
2022-09-14 09:58:04 +02:00
raviks789
3a7dc64a50
Fix storing of business process with Description having new lines ( #339 )
...
* Fix storing of business process with `Description` having new lines
The `LegacyConfigRenderer::renderHeader()` should render new lines in the `Description` field as comments.
This fix avoids occurrence of future issues due to new lines in `Description` field while adding or modifying the
business processes.
* Parse new lines in header
The new lines in header which may belong to the field like `Description` must be parsed correctly.
2022-09-14 09:53:54 +02:00
raviks789
bd2cb52292
Show critical count badge in left menu
...
The critical count badge of `Business Process` menu section represent number configs that are in critical state.
The critical count badge of configs sub section under represent number of critical root nodes of that specific config.
2022-09-14 09:53:11 +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
b24600893a
Apply the filter for host names when 'Hosts from filter' option is selected
2022-09-14 09:51:31 +02:00
raviks789
ce812c01bf
Fix deletion of all occurences of a node
...
In case the node is not a BP node, we simply have to remove all occurences of the node.
2022-07-28 12:35:45 +02:00
raviks789
731541e667
Fix BP node in case it has pending-handled child node
...
Increment `PENDING` state summary counter of the BP node in case there are `PENDING-HANDLED` child/children node/s.
2022-07-27 09:23:45 +02:00
Johannes Meyer
d34da32f28
Make sure to expect ITL compatible custom var names
2022-07-21 16:01:37 +02:00
Johannes Meyer
b8de4580da
Add detail integration for Icinga DB Web
2022-07-20 11:22:41 +02:00
Johannes Meyer
b2bc6b852e
Enhance DetailViewExtension
...
* The checkcommand name can now be configured
* The variable names are shortened
* The config and process variables are now separate
2022-07-19 16:19:07 +02:00
Johannes Meyer
36f97c7a23
TreeRenderer: Override assemble instead of render
2022-07-19 15:03:13 +02:00
Johannes Meyer
7acfac8947
TileRenderer: Override assemble instead of render
2022-07-19 15:03:13 +02:00
Johannes Meyer
f62364b772
Monitoring/DetailViewExtension: Update implementation
2022-07-19 15:03:13 +02:00
Johannes Meyer
fde37a35c6
Rename hook
2022-07-19 14:07:35 +02:00
Matthias
bc54d59146
Added Grapher
2022-07-19 14:03:37 +02:00
Johannes Meyer
be0aa5d6f4
IcingaDbState: Use multiple calls of Query::with()
...
The possibility to pass an array will soon be dropped.
2022-05-23 14:13:54 +02:00
moreamazingnick
0b392762f9
fix/state-can-be-empty-#325
2022-04-06 16:28:02 +02:00
Johannes Meyer
6d3146f57a
Revert "Merge pull request #320 from Icinga/re-add-php-diff-lib"
...
This reverts commit 9e9bcb578d , reversing
changes made to 5ccc13c862 .
2022-03-24 14:54:03 +01:00
Johannes Meyer
85b8f770ab
Controller: Properly handle view compact requests
2022-03-16 13:41:05 +01:00
Johannes Meyer
8af64d2e83
Add phpspec/php-diff in version 1.1.3
2022-03-15 11:24:33 +01:00
Johannes Meyer
96b28708af
Revert "ConfigDiff: Utilize new php-diff library"
...
This reverts commit dde924e2b4 .
2022-03-15 11:24:33 +01:00
Florian Strohmaier
d325844b90
BPNode: Ignore node children states in state badges
2022-03-10 12:02:03 +01:00
Florian Strohmaier
2d299f73b9
Renderer: specify total number of nodes with "Node"
2022-03-10 12:02:03 +01:00
Florian Strohmaier
595c4a5cb3
Renderer: Do not display ok/up nodes
2022-03-04 14:23:33 +01:00
Johannes Meyer
3fcc6dd105
Use class ìpl\Web\Widget\StateBadge
2022-03-04 14:21:48 +01:00
Ravi Kumar Kempapura Srinivasa
af4226aa43
Address Node which is UP or OK with downtime.
2022-03-04 14:21:48 +01:00
Ravi Kumar Kempapura Srinivasa
f0aae66544
Redesign state badges for acknowledged nodes
...
Add and group state badges for acknowkedeged nodes based on state.
2022-03-04 14:21:48 +01:00
Johannes Meyer
711677f903
Merge pull request #277 from Icinga/feature/icingaDb-MySQL-backend-#276
...
Support Icinga DB
2022-02-18 12:11:56 +01:00
raviks789
6c2e1cfa0a
Remove $backendName property from AddNodeForm and EditNodeForm
2022-02-18 11:46:33 +01:00
raviks789
34626cbec5
$row->state->in_downtime and $row->state->is_acknowledged are used as boolens in if condition
2022-02-18 11:46:33 +01:00
raviks789
ab4728ad54
Use ipl\Stdlib\Filter to filter the $queryHost and $queryService
2022-02-18 11:46:33 +01:00
raviks789
6c5c38d425
Provide native implementations for the hooks: icingadb/HostActions and icingadb/ServiceActions
2022-02-18 11:46:33 +01: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
Valentina Da Rold
b78983f539
Add Degraded operator implementation
...
Refs #298
2022-02-18 11:41:06 +01:00
raviks789
605834e7c4
trait cannot be a type for property
...
Replace the type of properties with type Icinga\Module\Icingadb\Common\Database with type ipl\Sql\Connection.
2022-02-18 10:06:59 +01:00
raviks789
1d12701293
Remove IcingaDb from list of available backends.
...
By default use monitoring backend if icingadb is preferred default backend is set to icingadb.
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
6552ae2004
Use trait Icinga\Module\Icingadb\Common\Database as icingadb backend object
2022-02-18 10:06:59 +01:00
raviks789
549ad92122
Do not set Backend in Metadata to null in case icingadb module doesnot exist in BpConfig
...
In case icingadb module is not present Backend in Metadata is set to null which is incorrect.
Also use static fetchDb() from IcingaDbObject class in case icingadb backend is being used.
2022-02-18 10:06:59 +01:00
raviks789
ed52d51131
Remove param 'icingadb' and set param 'backend' as '_icingadb' when icingadb is used
2022-02-18 10:06:59 +01:00
raviks789
df3f363f1b
Add static fetchDb() method to library/Businessprocess/IcingaDbObject.php
...
Use this static method to get backend in IcingaDbState.
2022-02-18 10:06:02 +01:00
raviks789
8f68ffe2a8
Drop library/Businessprocess/Common/IcingadbDatabase.php in favor of Icinga\Module\Icingadb\Common\Database
2022-02-10 12:50:28 +01:00