Commit graph

13 commits

Author SHA1 Message Date
Johannes Meyer
3fe17336dc Escape semicolons in node names
fixes #312
2023-08-08 08:46:48 +02:00
Johannes Meyer
c3d09fd601 Introduce Icinga\Module\Businessprocess\Common\Sort 2023-08-03 15:06:08 +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
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
8f68ffe2a8 Drop library/Businessprocess/Common/IcingadbDatabase.php in favor of Icinga\Module\Icingadb\Common\Database 2022-02-10 12:50:28 +01:00
raviks789
1afa7668eb Move enumServiceStateList and enumHostStateList to trait EnumList.
The above methods in AddNodeForm and EditNodeForm is moved to the trait EnumList.
2022-02-03 16:56:46 +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
ce3bbde289 Apply public static getRestriction and applyMonitoringRestriction changes
Apply the public static getRestriction and applyMonitoringRestriction changes in the places were the corresponding methods are used.
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