2013-10-15 13:56:33 -04:00
|
|
|
<?php
|
2016-02-08 09:41:00 -05:00
|
|
|
/* Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
|
2013-10-15 13:56:33 -04:00
|
|
|
|
|
|
|
|
namespace Icinga\Module\Monitoring\DataView;
|
|
|
|
|
|
|
|
|
|
class Servicegroup extends DataView
|
|
|
|
|
{
|
|
|
|
|
public function getColumns()
|
|
|
|
|
{
|
|
|
|
|
return array(
|
2015-04-10 09:35:24 -04:00
|
|
|
'servicegroup_alias',
|
2015-06-05 08:42:49 -04:00
|
|
|
'servicegroup_name'
|
2013-10-15 13:56:33 -04:00
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-27 09:03:12 -04:00
|
|
|
public function getSortRules()
|
|
|
|
|
{
|
|
|
|
|
return array(
|
|
|
|
|
'servicegroup_alias' => array(
|
|
|
|
|
'order' => self::SORT_ASC
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-17 08:06:26 -04:00
|
|
|
public function getStaticFilterColumns()
|
2013-10-15 13:56:33 -04:00
|
|
|
{
|
|
|
|
|
return array(
|
2017-07-27 09:03:12 -04:00
|
|
|
'instance_name', 'host_name', 'hostgroup_name', 'service_description'
|
2013-10-15 13:56:33 -04:00
|
|
|
);
|
|
|
|
|
}
|
2013-10-17 15:40:02 -04:00
|
|
|
}
|