Hi
When we use the zabbix api to query the history of an item, it does not return all the data, although in zabbix we see all the data of the requested date range. Any idea?
The query is (The date range corresponds to the first days of February 2023.)
And the result is
Although itemid 648868 is configured with a 90 day history
Any idea?
When we use the zabbix api to query the history of an item, it does not return all the data, although in zabbix we see all the data of the requested date range. Any idea?
The query is (The date range corresponds to the first days of February 2023.)
Code:
curl -s -X POST \
-H 'Content-Type: application/json-rpc' \
-d " \
{
\"jsonrpc\": \"2.0\",
\"method\": \"history.get\",
\"params\": {
\"output\": \"extend\",
\"itemids\": \"648868\",
\"time_from\": \"1675295940\",
\"time_till\": \"1676073540\",
\"sortfield\": \"clock\",
\"sortorder\": \"ASC\",
\"limit\": 100000
},
\"auth\": \"$auth\",
\"id\": 1
}
" $url
Code:
{"jsonrpc":"2.0","result":[],"id":1}
Any idea?
Comment