Use IcingaDbState for nodes from IcingaDb MySQL backend in ProcessCommand

Since we have included monitored nodes from IcingaDB MySQL backend, the states for these nodes will be now calculated using IcingaDbState::apply.
This commit is contained in:
Ravi Kumar Kempapura Srinivasa 2020-05-25 10:39:31 +02:00 committed by raviks789
parent f9be5f81d6
commit 5d905426b6

View file

@ -9,6 +9,7 @@ use Icinga\Module\Businessprocess\BpConfig;
use Icinga\Module\Businessprocess\BpNode; use Icinga\Module\Businessprocess\BpNode;
use Icinga\Module\Businessprocess\HostNode; use Icinga\Module\Businessprocess\HostNode;
use Icinga\Module\Businessprocess\Node; use Icinga\Module\Businessprocess\Node;
use Icinga\Module\Businessprocess\State\IcingaDbState;
use Icinga\Module\Businessprocess\State\MonitoringState; use Icinga\Module\Businessprocess\State\MonitoringState;
use Icinga\Module\Businessprocess\Storage\LegacyStorage; use Icinga\Module\Businessprocess\Storage\LegacyStorage;