Hallo,
I had a simple trigger expression in my template which should alert me, when the CPU-load raises above the number of CPU-cores;
Because the alarm triggered to often I wanted to use the number of CPU-cores in a count statement but neither of this is syntactically ok:
Is is possible to use an item key in such way in a trigger-expression or am I using simply a wrong syntax?
PS: In this last way it would be great if anyone could post me an working example.
Thank you in advance!
I had a simple trigger expression in my template which should alert me, when the CPU-load raises above the number of CPU-cores;
Code:
{Linux-Server:system.cpu.load[,avg5].last()}>{Linux-Server:system.cpu.num.last()}
Code:
{Linux-Server:system.cpu.load[,avg5].count(#3,{Linux-Server:system.cpu.num.last()},ge)}=3
{Linux-Server:system.cpu.load[,avg5].count(#3,Linux-Server:system.cpu.num.last(),ge)}=3
{Linux-Server:system.cpu.load[,avg5].count(#3,last("Linux-Server:system.cpu.num),ge)}=3
PS: In this last way it would be great if anyone could post me an working example.
Thank you in advance!
Comment