Skip to main content
Question

Centreon showing higher CPU usage than what's actually happening on the server

  • 28 May 2024
  • 1 reply
  • 36 views

Hello guys,

I have a weird problem and I don’t know if it’s me not understanding the metrics correctly or if I have a real problem.

I have an Ubuntu server with a CPU check attached to it. This server in the centreon interface shows 65%+ average CPU usage, but when I’m actually connected on the server and I run a HTOP command, the max value I see for the CPU usage is 20%.

Here is the HTOP screenshot:

Here is the centreon value screenshot:

Is there a reason for that?

 

1 reply

Userlevel 3
Badge +6

Hello :)

For the cpu mode in Linux-SNMP pack, the return value is the average, over the last minute, of the percentage of time that this processor was not idle. I’m not sure how HTOP calculates the CPU usage but because of average over the last minute, the result may change.
Also, for this mode, there is an option `--use-ucd`: Use UCD mib (.1.3.6.1.4.1.2021.11.11.0) for CPU average rather than default value : .1.3.6.1.2.1.25.3.3.1.2

So maybe one of this reasons can lead to this different results, if it still doesn’t work feel free to tell us here and we can explore further.

Reply