Show only host groups that contain hosts.
This commit is contained in:
@@ -117,7 +117,8 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
|
|||||||
getGroups() {
|
getGroups() {
|
||||||
var params = {
|
var params = {
|
||||||
output: ['name'],
|
output: ['name'],
|
||||||
sortfield: 'name'
|
sortfield: 'name',
|
||||||
|
real_hosts: true
|
||||||
};
|
};
|
||||||
|
|
||||||
return this.request('hostgroup.get', params);
|
return this.request('hostgroup.get', params);
|
||||||
|
|||||||
Reference in New Issue
Block a user