Hi Folks,
I wondering if someone did it or know the way to do it.
I'm trying to export the 95 percentile information into Excel by using Zabbix API.
I have a few problems with that. the history.gey somehow don't working for me and I always receive:
"raise ZabbixAPIException(msg, response_json['error']['code'], error=response_json['error'])
pyzabbix.ZabbixAPIException: ('Error -32602: Invalid params., Invalid parameter "/": unexpected parameter "0".', -32602)"
my code:
history = zapi.history.get({ "jsonrpc": "2.0", "method": "history.get", "params": { "output": "extend", "history": 1, "hostids": "10333", "itemids": "46331", }}) print(history)
Also, I pay attention that there isn't any way to pull the 95 percentile like it is by using the Zabbix API. only to pull iteamids for(outbound, inbound, etc) and to do some calculation in the script itself.
Thank you all in advance!!
I wondering if someone did it or know the way to do it.
I'm trying to export the 95 percentile information into Excel by using Zabbix API.
I have a few problems with that. the history.gey somehow don't working for me and I always receive:
"raise ZabbixAPIException(msg, response_json['error']['code'], error=response_json['error'])
pyzabbix.ZabbixAPIException: ('Error -32602: Invalid params., Invalid parameter "/": unexpected parameter "0".', -32602)"
my code:
history = zapi.history.get({ "jsonrpc": "2.0", "method": "history.get", "params": { "output": "extend", "history": 1, "hostids": "10333", "itemids": "46331", }}) print(history)
Also, I pay attention that there isn't any way to pull the 95 percentile like it is by using the Zabbix API. only to pull iteamids for(outbound, inbound, etc) and to do some calculation in the script itself.
Thank you all in advance!!
Comment