Hi, I'm using Zabbix with MySQL version 3.4.6-1+stretch in Debian 9.3, everything works fine except for the following:
I want to get the 95th percentile of the output of an interface (ifHCOutOctets), and created a Calculated item in the host, but can't make it work (I know there is an option in the graphs, but I need an item to use it in grafana). The formula I'm using:
and also tried
And I get the error:
I read the documentation about Calculated items and the supported functions, but no luck.
But I tried with other functions and it works just fine:
What is the right syntax for the percentile function, could someone give me some hints please?
I want to get the 95th percentile of the output of an interface (ifHCOutOctets), and created a Calculated item in the host, but can't make it work (I know there is an option in the graphs, but I need an item to use it in grafana). The formula I'm using:
Code:
percentile(ifHCOutOctets[GigabitEthernet0/0/1/5.1250],60,95.0000)
Code:
percentile("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60,95.0000)
Code:
8398:20180125:091153.277 item "router:perc95" became not supported: Cannot evaluate expression: "Cannot evaluate function "percentile(60,95.0000)": invalid number of parameters.".
But I tried with other functions and it works just fine:
Code:
avg("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60)
last("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60)
max("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60)
min("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60)
prev("ifHCOutOctets[GigabitEthernet0/0/1/5.1250]",60)
Comment