Skip to content

Commit

Permalink
Return only host groups that contain hosts.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin committed May 11, 2015
1 parent 20029dc commit 572bba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zabbix/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ function (angular, _, kbn) {
method: 'hostgroup.get',
params: {
output: ['name'],
real_hosts: true, //Return only host groups that contain hosts
sortfield: 'name'
},
auth: this.auth,
Expand Down

0 comments on commit 572bba9

Please sign in to comment.