diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:15:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:15:40 +0000 |
commit | b7fd908d538ed19fe41f03c0a3f93351d8da64e9 (patch) | |
tree | 46e14f318948cd4f5d7e874f83e7dfcc5d42fc64 /library/Businessprocess/Monitoring/DataView | |
parent | Initial commit. (diff) | |
download | icingaweb2-module-businessprocess-upstream.tar.xz icingaweb2-module-businessprocess-upstream.zip |
Adding upstream version 2.5.0.upstream/2.5.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/Businessprocess/Monitoring/DataView')
-rw-r--r-- | library/Businessprocess/Monitoring/DataView/HostStatus.php | 16 | ||||
-rw-r--r-- | library/Businessprocess/Monitoring/DataView/ServiceStatus.php | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/library/Businessprocess/Monitoring/DataView/HostStatus.php b/library/Businessprocess/Monitoring/DataView/HostStatus.php new file mode 100644 index 0000000..edc1814 --- /dev/null +++ b/library/Businessprocess/Monitoring/DataView/HostStatus.php @@ -0,0 +1,16 @@ +<?php + +namespace Icinga\Module\Businessprocess\Monitoring\DataView; + +use Icinga\Data\ConnectionInterface; +use Icinga\Module\Businessprocess\Monitoring\Backend\Ido\Query\HostStatusQuery; + +class HostStatus extends \Icinga\Module\Monitoring\DataView\Hoststatus +{ + public function __construct(ConnectionInterface $connection, array $columns = null) + { + parent::__construct($connection, $columns); + + $this->query = new HostStatusQuery($connection->getResource(), $columns); + } +} diff --git a/library/Businessprocess/Monitoring/DataView/ServiceStatus.php b/library/Businessprocess/Monitoring/DataView/ServiceStatus.php new file mode 100644 index 0000000..f3a9c3c --- /dev/null +++ b/library/Businessprocess/Monitoring/DataView/ServiceStatus.php @@ -0,0 +1,16 @@ +<?php + +namespace Icinga\Module\Businessprocess\Monitoring\DataView; + +use Icinga\Data\ConnectionInterface; +use Icinga\Module\Businessprocess\Monitoring\Backend\Ido\Query\ServiceStatusQuery; + +class ServiceStatus extends \Icinga\Module\Monitoring\DataView\Servicestatus +{ + public function __construct(ConnectionInterface $connection, array $columns = null) + { + parent::__construct($connection, $columns); + + $this->query = new ServiceStatusQuery($connection->getResource(), $columns); + } +} |