mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Livestatus\HostgroupQuery: initial commit
This commit is contained in:
parent
822a64cc99
commit
92c059a0d7
@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
// {{{ICINGA_LICENSE_HEADER}}}
|
||||||
|
// {{{ICINGA_LICENSE_HEADER}}}
|
||||||
|
|
||||||
|
namespace Icinga\Module\Monitoring\Backend\Livestatus\Query;
|
||||||
|
|
||||||
|
use Icinga\Protocol\Livestatus\Query;
|
||||||
|
|
||||||
|
class HostgroupQuery extends Query
|
||||||
|
{
|
||||||
|
protected $table = 'hostgroups';
|
||||||
|
|
||||||
|
protected $available_columns = array(
|
||||||
|
'hostgroups' => 'name',
|
||||||
|
'hostgroup_name' => 'name',
|
||||||
|
'hostgroup_alias' => 'alias',
|
||||||
|
'host' => 'members',
|
||||||
|
'host_name' => 'members',
|
||||||
|
);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user