I know that newer versions of Zabbix (2.0 onward) has a simple way of determining average load per cpu via the introduction of the "percpu" parameter. Unfortunately, I'm using 1.8.
With 2.0 I would be able to create an item with this key: system.cpu.load[percpu,avg15]
How do I roll-my-own calculated item using 1.8? I have tried the following formulas (Many are desperate and improbable, I know):
system.cpu.load[,avg15].last/system.cpu.num.last
Template_Linux:system.cpu.load[,avg15]/Template_Linux:system.cpu.num
{Template_Linux:system.cpu.load[,avg15]}/{Template_Linux:system.cpu.num}
{Template_Linux:system.cpu.load[,avg15].last}/{Template_Linux:system.cpu.num.last}
{Template_Linux:system.cpu.load[,avg15].last()}/{Template_Linux:system.cpu.num.last()}
{"Template_Linux:system.cpu.load[,avg15]".last()}/{"Template_Linux:system.cpu.num".last()}
"Template_Linux:system.cpu.load[,avg15]".last()/"Template_Linux:system.cpu.num".last()
"Template_Linux:system.cpu.load[,avg15].last()"/"Template_Linux:system.cpu.num.last()"
Thanks!
Zabbix documentation page on item configuration describes the correct calculated item syntax.
In this case, the formula would be something like this:
last("system.cpu.load[,avg15]") / last("system.cpu.num")