[ucd/net] CPU graphs gone wild

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

Moderators: Developers, Moderators

Post Reply
simcen
Posts: 10
Joined: Fri Jan 12, 2007 5:16 pm

[ucd/net] CPU graphs gone wild

Post by simcen »

Hi all

Please have a look at this u10 ucd/net CPU usage graph:
ucdnet_cpu.png
ucdnet_cpu.png (94.71 KiB) Viewed 991 times
As you can see, the CPU usage gone wild :D
Anyone experienced the same behaviour? Any hints what's the matter here?
Cacti is running on 0.8.7g with rrdtool 1.2 and NET-SNMP version 5.3.2.2.

Thanks in advance for support and best regards,
Simon
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: [ucd/net] CPU graphs gone wild

Post by TheWitness »

All objects in Cacti that are of type 'GUAGE' IMNSHO should not have a Max associated with them. Check for max values set in your Data Templates. If they are there, set them to either 'U' or '0' (depending on Cacti version).

Then use 'rrdtool tune <file> -a dsname:Nan' to adjust the max value to unset.

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?
simcen
Posts: 10
Joined: Fri Jan 12, 2007 5:16 pm

Re: [ucd/net] CPU graphs gone wild

Post by simcen »

That's weird: None of my affected data template types are GAUGE, they're all COUNTERs.
Could that be the reason? I just do not understand why they should be a GAUGE value... any ideas? What are the cacti defaults for these data templates?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: [ucd/net] CPU graphs gone wild

Post by TheWitness »

Right, forgot about that. Check for the max values on the counters. They should be no less than 400.
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?
simcen
Posts: 10
Joined: Fri Jan 12, 2007 5:16 pm

Re: [ucd/net] CPU graphs gone wild

Post by simcen »

Bad luck - all of them 5000 or even higher.
Update: Looks like the max isn't high enough for my systems. I checked that with result logging in cacti. I try to adjust them to a higher level.

Do you know why this max value is quite little in the default settings? I just can't imagine I'm the only person with this behaviour... :cry:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [ucd/net] CPU graphs gone wild

Post by gandalf »

There are quite a lot of such templates out there. E.g. we do use a custom made with custom MAX values. And yes, most of those templates stem from times, where a quad core was not been thought about ...
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests