Wrong stats on cpu and load

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
packet
Posts: 1
Joined: Thu Dec 17, 2009 5:02 am

Wrong stats on cpu and load

Post by packet »

Hey,
i got problem with gapth cpu and load. I getting data via snmp (v1 and v2 checked) and cpu is 17% load 0.5 when on serwer i got cpu usage 800% and load 20. SNMP - Get Processor Information by core show good information but ucd/net - Load Average and ucd/net - CPU Usage is wrong. I got 2x Quad-Core AMD Opteron(tm) Processor 2378. Where can be bug or my mistake? I use cacti 0.8.7b and debian on cacti and remote server.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

CPU and load are difficult beasts these days with multi-cores, HT and stuff. net-snmp changed policy for reporting CPU load; former it was possible to have 100% per CPU, that is, on an 8 core, you could reach 800%.
Cacti takes the data it gets from the SNMP agent, but it leaves the interpretation to you.
R.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There are some other counters that add to 100%, and I am sure there is a template on the forums for using it, but have not bothered with either developing one on my own, or looking for it.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
wallb
Posts: 5
Joined: Mon Nov 23, 2009 8:07 am

wrong stats on multi core

Post by wallb »

I have a problem on two CACTI one 0.8.6i and the latest 0.8.7e wih full patch.
As you can see in the graph below, the poller doesn't take any value above 99%. Any idea ?
Regard.
Attachments
cpu.png
cpu.png (34.82 KiB) Viewed 2498 times
wallb
Posts: 5
Joined: Mon Nov 23, 2009 8:07 am

Post by wallb »

wallb
Posts: 5
Joined: Mon Nov 23, 2009 8:07 am

Post by wallb »

ok the link above work.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests