Hi,
I am using the zabbix API on a 2.0.3 version.
I am making a json request for a trigger selection.
My contraint is to select only the inactives triggers (so status must be different from 0). I don't want to select individualy the other status.
So i try a
{
"params":{
"excludeSearch":1,
"search":{"status":1},
"output":"extend"},
"method":"trigger.get",
"jsonrpc":"2.0",
"id":0,
"auth":"b32de9735070c2bafbd52bc68c30cdf6"
}
But it doesn't work, it send me all the triggers (with all status).
Can you help me to solve my problem ?
I suspect the search parameter to only work with strings field because it works with "description" field.
Regards,
Yab
I am using the zabbix API on a 2.0.3 version.
I am making a json request for a trigger selection.
My contraint is to select only the inactives triggers (so status must be different from 0). I don't want to select individualy the other status.
So i try a
{
"params":{
"excludeSearch":1,
"search":{"status":1},
"output":"extend"},
"method":"trigger.get",
"jsonrpc":"2.0",
"id":0,
"auth":"b32de9735070c2bafbd52bc68c30cdf6"
}
But it doesn't work, it send me all the triggers (with all status).
Can you help me to solve my problem ?
I suspect the search parameter to only work with strings field because it works with "description" field.
Regards,
Yab
Comment