summaryrefslogtreecommitdiffstats
path: root/library/Businessprocess/Monitoring/DataView
diff options
context:
space:
mode:
Diffstat (limited to 'library/Businessprocess/Monitoring/DataView')
-rw-r--r--library/Businessprocess/Monitoring/DataView/HostStatus.php16
-rw-r--r--library/Businessprocess/Monitoring/DataView/ServiceStatus.php16
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);
+ }
+}