DataView\Contactgroup: Add missing query columns

This commit is contained in:
Johannes Meyer 2015-04-10 12:19:19 +02:00
parent a51b93ebfb
commit 31a05a3ec0
1 changed files with 21 additions and 2 deletions

View File

@ -8,7 +8,6 @@ namespace Icinga\Module\Monitoring\DataView;
*/ */
class Contactgroup extends DataView class Contactgroup extends DataView
{ {
/** /**
* Retrieve columns provided by this view * Retrieve columns provided by this view
* *
@ -17,9 +16,29 @@ class Contactgroup extends DataView
public function getColumns() public function getColumns()
{ {
return array( return array(
'contact_name',
'contactgroup_name', 'contactgroup_name',
'contactgroup_alias', 'contactgroup_alias',
'contact_name',
'contact_alias',
'contact_email',
'contact_pager',
'contact_has_host_notfications',
'contact_has_service_notfications',
'contact_can_submit_commands',
'contact_notify_service_recovery',
'contact_notify_service_warning',
'contact_notify_service_critical',
'contact_notify_service_unknown',
'contact_notify_service_flapping',
'contact_notify_service_downtime',
'contact_notify_host_recovery',
'contact_notify_host_down',
'contact_notify_host_unreachable',
'contact_notify_host_flapping',
'contact_notify_host_downtime',
'host_name',
'service_description',
'service_host_name'
); );
} }