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