Hello! Hope you are doing well.
I've encountered something weird while testing the host.get method on the zabbix api, the selectItems parameter doesnt seem to work (It only works if i use extend, but I just want one property and not the whole output)
Any clues, or ideas? The other selects do run fine.
Running Zabbix 5.0.2
I've encountered something weird while testing the host.get method on the zabbix api, the selectItems parameter doesnt seem to work (It only works if i use extend, but I just want one property and not the whole output)
Code:
{
"jsonrpc": "2.0",
"method": "host.get",
"params": {
"output": ["hostid","name"],
"selectItems": "itemid",
"selectParentTemplates": ["templateId", "name"],
"selectGroups": "groupid"
},
"auth": "xxxx",
"id": 1
}
Running Zabbix 5.0.2
Comment