File: Hoststatus.php

package info (click to toggle)
icingaweb2-module-cube 1.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,020 kB
  • sloc: php: 2,775; sh: 54; makefile: 15
file content (17 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

// Icinga Web 2 Cube Module | (c) 2021 Icinga GmbH | GPLv2

namespace Icinga\Module\Cube\Ido\DataView;

use Icinga\Data\ConnectionInterface;
use Icinga\Module\Cube\Ido\Query\HoststatusQuery;

class Hoststatus extends \Icinga\Module\Monitoring\DataView\Hoststatus
{
    public function __construct(ConnectionInterface $connection, array $columns = null)
    {
        $this->connection = $connection;
        $this->query = new HoststatusQuery($connection->getResource(), $columns);
    }
}