I am new to zabbix.
I tried to create a calculated item using the following formula, but it keeps giving me "Cannot evaluate function "last()": item "server_host_name:system.cpu.num" does not exist"
100*last("system.stat[cpu,pc]") / (last("system.cpu.num")/4)
AIX/zabbix 2.2 supports system.cpu.num.
I used zabbix_get to validate the key and I was able to get a value back
# /usr/bin/zabbix_get -s server_host_name-k system.cpu.num
4
What am I doing wrong?
I tried to create a calculated item using the following formula, but it keeps giving me "Cannot evaluate function "last()": item "server_host_name:system.cpu.num" does not exist"
100*last("system.stat[cpu,pc]") / (last("system.cpu.num")/4)
AIX/zabbix 2.2 supports system.cpu.num.
I used zabbix_get to validate the key and I was able to get a value back
# /usr/bin/zabbix_get -s server_host_name-k system.cpu.num
4
What am I doing wrong?

Comment