monitoring: Allow `instance_name' as restriction column

refs #9934
This commit is contained in:
Johannes Meyer 2015-08-25 16:39:40 +02:00
parent 819d20f17a
commit 91315738c8
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class Controller extends IcingaWebController
{ {
$restrictions = Filter::matchAny(); $restrictions = Filter::matchAny();
$restrictions->setAllowedFilterColumns(array( $restrictions->setAllowedFilterColumns(array(
'instance_name',
'host_name', 'host_name',
'hostgroup_name', 'hostgroup_name',
'service_description', 'service_description',
@ -85,6 +86,7 @@ class Controller extends IcingaWebController
$restriction, $restriction,
$filter, $filter,
implode(', ', array( implode(', ', array(
'instance_name',
'host_name', 'host_name',
'hostgroup_name', 'hostgroup_name',
'service_description', 'service_description',