There was a task to make such a thing on python: Through the py-zabbix I refer to the Zabbix API.
In response, I get such an array of data -
[ { "itemid": "30171", "clock": "1535500848", "value": "21.6000", "ns": "117344023" }, { "itemid": "30171", "clock": "1535500907", "value": "21.7000", "ns": "209859168" }, { "itemid": "30171", "clock": "1535500967", "value": "21.7000", "ns": "229296223" } ] What is required: Only output key values from all of this. Something like this -
21.7000, 21.6000, 21.7000 и т.д. Then from these values get the minimum, average and maximum. Max. Wed and min. - individual variables. How to implement it?
PS API does not provide the ability to issue only the key value and its values