Hi, I am developing my own Zabbix app and have encountered a problem. Sending a Item.get with hostid parameter works Ok, but returns a lot of needless information about the host which leads to slowness (to be short).
I want to filter the response and fetch only "description" and "last_value" but without success. I've tried the filter option, but no result:
{ "id":"1",
"method":"item.get",
"params":
{
"output":"shorten",
"filter":["description","last_value"],
"hostids":["10051"]
}
,"jsonrpc":"2.0",
"auth":"XXXXXXXXXXXXX"
}
Is there any other Item.get option I can choose?
I want to filter the response and fetch only "description" and "last_value" but without success. I've tried the filter option, but no result:
{ "id":"1",
"method":"item.get",
"params":
{
"output":"shorten",
"filter":["description","last_value"],
"hostids":["10051"]
}
,"jsonrpc":"2.0",
"auth":"XXXXXXXXXXXXX"
}
Is there any other Item.get option I can choose?