N
N
Nikolai Savelyev2021-03-22 08:05:33
Debian
Nikolai Savelyev, 2021-03-22 08:05:33

Why does zabbix show such values?

There is a VPS with debian 10. The zabbix agent is installed there, which shows the load on the cpu within 60% (mostly within 20% with peaks up to 60). However, if you log in via ssh and turn on top, we will see periodic jumps up to 320-330%, which gives about 80% with 4 cores. Tried different versions of zabbix, zabbix agent. Everywhere is the same.
How can such a difference be explained?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2021-03-22
@nikweter

https://www.zabbix.com/documentation/current/ru/ma...
system.cpu.util[<cpu>,<тип>,<режим>]

cpu - CPU number (all CPUs by default)
type - possible values:
idle, nice, user (default), system (default for Windows), iowait, interrupt, softirq, steal, guest (on Linux kernel 2.6. above), guest_nice (on Linux kernel 2.6.33 and above). User and nice time parameters no longer include guest time and guest_nice time since Zabbix 3.0.14, 3.4.5 and 4.0.0.
mode - possible values:
avg1 (averaging over one minute, default), avg5, avg15

It turns out that system.cpu.util[,user,avg1] is shown by default, that is, loading only in user space with an average of 1 minute, and top shows the load at the moment, including both kernel space, user space, and iowait.
Simply put, you are comparing warm to soft.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question