PDA

View Full Version : V1.0 !V1.1 cpu percentage\2.4 kernel


aorlowski
13-03-2006, 19:15
Hello,

I am utilizing zabbix 1.1b7 server with a mixture of 1.0 and 1.1b7 agents. I am utilizing syntax from both versions and I am quite comfortable in working with them.

My question,how can I get cpu percentage (without scripts) for linux 2.4 kernels?

What item keys I have tried:

system.cpu.util[<cpu><,type><,mode>] //v1.1 parameters
system.cpu.idleX //where X = 0 or 1 //claims to be older parameters
cpu[X1] // where X = idle,nice,usr,system.this works on v1.1b7 client agents only

I typically know what works when active comes alive for new items created. I do enjoy 1.1b7 quite a bit and is quite easy to work with.

Thanks.

aorlowski
16-03-2006, 22:36
Ok I tested syntax with a different host that has 1.1b7 agent and the below combination works, at least for "all" cpu percentages.


system.cpu.util[all,user,avg1]
system.cpu.util[all,nice,avg1]
system.cpu.util[all,idle,avg1]
system.cpu.util[all,system,avg1]

The Zabbix server (1.1b7) which also has the (1.1b7)agent running comes up as "Not supported".

What is interesting about that is the Host that works with above parameters is Linux kernel 2.4.21-37.The Zabbix server is Linux kernel 2.6.9-22 does not work with the above parameters.

So now what i still can not get to work as of yet is the individual cpu's. Would i do the following?

system.cpu.util[0,user,avg1]
or
system.cpu.util[cpu0,user,avg1]
or
system.cpu.util[cpu00,user,avg1]
or
system.cpu.util[1,user,avg1]


Please provide examples, I learn better that way.

Thanks,