Livestatus\HostgroupQuery: initial commit

This commit is contained in:
Thomas Gelf 2014-11-16 18:53:41 +01:00
parent 822a64cc99
commit 92c059a0d7
1 changed files with 20 additions and 0 deletions

View File

@ -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',
);
}