Skip to content

Commit

Permalink
DataView\Eventgrid: Add missing query and filter columns
Browse files Browse the repository at this point in the history
refs #8613
  • Loading branch information
Johannes Meyer committed Apr 10, 2015
1 parent 8b2c019 commit 42e93ff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion modules/monitoring/library/Monitoring/DataView/Eventgrid.php
Expand Up @@ -15,19 +15,24 @@ public function getColumns()
return array(
'day',
'cnt_events',
'objecttype_id',
'cnt_up',
'cnt_down_hard',
'cnt_down',
'cnt_unreachable_hard',
'cnt_unreachable',
'cnt_unknown_hard',
'cnt_unknown',
'cnt_unknown_hard',
'cnt_critical',
'cnt_critical_hard',
'cnt_warning',
'cnt_warning_hard',
'cnt_ok',
'host_name',
'service_description',
'timestamp',
'servicegroup_name',
'hostgroup_name'
);
}

Expand All @@ -39,4 +44,9 @@ public function getSortRules()
)
);
}

public function getFilterColumns()
{
return array('host', 'service');
}
}

0 comments on commit 42e93ff

Please sign in to comment.