各位大虾好,有个问题希望大家帮忙回答一下,zabbixAPI的event.get里面的查询参数格式是什么呀?
request:
{
"jsonrpc": "2.0",
"method": "event.get",
"params": {
"output": "extend",
"time_from": "1349797228",
"time_till": "1350661228",
"search": [{"subject": "CPU"}],
"sortfield": ["clock", "eventid"],
"sortorder": "desc"
},
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}
这里面的search的值的格式怎么写啊,我这样写不对,查出来的和没有search这一项查出来的一样啊
http://blog.csdn.net/itest_2016/article/details/72356238?locationNum=14&fps=1