From 5d905426b61722f58f53ad13bdbf1e13490b6447 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Kempapura Srinivasa Date: Mon, 25 May 2020 10:39:31 +0200 Subject: [PATCH] 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. --- application/clicommands/ProcessCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/clicommands/ProcessCommand.php b/application/clicommands/ProcessCommand.php index a6d1dac..59c9d31 100644 --- a/application/clicommands/ProcessCommand.php +++ b/application/clicommands/ProcessCommand.php @@ -9,6 +9,7 @@ use Icinga\Module\Businessprocess\BpConfig; use Icinga\Module\Businessprocess\BpNode; use Icinga\Module\Businessprocess\HostNode; use Icinga\Module\Businessprocess\Node; +use Icinga\Module\Businessprocess\State\IcingaDbState; use Icinga\Module\Businessprocess\State\MonitoringState; use Icinga\Module\Businessprocess\Storage\LegacyStorage;