mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
parent
d33cec78de
commit
df81c85090
@ -5,7 +5,7 @@
|
|||||||
namespace Icinga\Module\Monitoring;
|
namespace Icinga\Module\Monitoring;
|
||||||
|
|
||||||
use Icinga\Application\Config as IcingaConfig;
|
use Icinga\Application\Config as IcingaConfig;
|
||||||
use Icinga\Module\Monitoring\DataView\HostAndServiceStatus as HostAndServiceStatusView;
|
use Icinga\Module\Monitoring\DataView\ServiceStatus as ServiceStatusView;
|
||||||
use Icinga\Web\Controller\ActionController;
|
use Icinga\Web\Controller\ActionController;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -54,13 +54,13 @@ class Controller extends ActionController
|
|||||||
'max_check_attempts' => 'service_max_check_attempts'
|
'max_check_attempts' => 'service_max_check_attempts'
|
||||||
);
|
);
|
||||||
if ($params === null) {
|
if ($params === null) {
|
||||||
$query = HostAndServiceStatusView::fromRequest(
|
$query = ServiceStatusView::fromRequest(
|
||||||
$this->_request,
|
$this->_request,
|
||||||
$columns
|
$columns
|
||||||
)->getQuery();
|
)->getQuery();
|
||||||
} else {
|
} else {
|
||||||
$params['backend'] = $this->_request->getParam('backend');
|
$params['backend'] = $this->_request->getParam('backend');
|
||||||
$query = HostAndServiceStatusView::fromParams(
|
$query = ServiceStatusView::fromParams(
|
||||||
$params,
|
$params,
|
||||||
$columns
|
$columns
|
||||||
)->getQuery();
|
)->getQuery();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user