Hello
i use zabbix 2.0.6 and want to automate the configuration of the monitored hosts. Therefore i tried to use the api to get a list of all hostgroups from a given host. The Problem ist, whateveer i use as filter, i alway get a list of all hostgroups as respond. The json request i used is
Any suggestions what is wrong?
i use zabbix 2.0.6 and want to automate the configuration of the monitored hosts. Therefore i tried to use the api to get a list of all hostgroups from a given host. The Problem ist, whateveer i use as filter, i alway get a list of all hostgroups as respond. The json request i used is
Code:
{
"jsonrpc":"2.0",
"method":"hostgroup.getobjects",
"params":{
"output":"extend",
"filter":{
"nodeids":["10111"]
}
},
"auth":"dbc1b01280447cf95b886986ca2b1bc4",
"id":"13693129326839"
}
Comment