mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-11 18:20:10 +02:00
This didn't result in a loop 'til now as it wasn't even used. The problem here is that the same View is used for tow differend things, this makes no sense. In the meantime removing that code fixes related problems.
41 lines
1.0 KiB
PHP
41 lines
1.0 KiB
PHP
<?php
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
namespace Icinga\Module\Monitoring\DataView;
|
|
|
|
class Groupsummary extends DataView
|
|
{
|
|
/**
|
|
* Retrieve columns provided by this view
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getColumns()
|
|
{
|
|
return array(
|
|
'servicegroup',
|
|
'hostgroup',
|
|
'hosts_up',
|
|
'hosts_unreachable',
|
|
'hosts_unreachable_handled',
|
|
'hosts_unreachable_unhandled',
|
|
'hosts_down',
|
|
'hosts_down_handled',
|
|
'hosts_down_unhandled',
|
|
'hosts_pending',
|
|
'services_ok',
|
|
'services_unknown',
|
|
'services_unknown_handled',
|
|
'services_unknown_unhandled',
|
|
'services_critical',
|
|
'services_critical_handled',
|
|
'services_critical_unhandled',
|
|
'services_warning',
|
|
'services_warning_handled',
|
|
'services_warning_unhandled',
|
|
'services_pending'
|
|
);
|
|
}
|
|
}
|