Max value issue

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cornut
Posts: 16
Joined: Tue Oct 25, 2005 11:04 am

Max value issue

Post by cornut »

Hi,
I use rrdtool 1.2.6 with cacti (Linux) 0.8.6f. Everything works well but I have a problem with max values. When I set in data template a maximum value, on my graph I have a hole and I would like to have the last good value. I don't know if I'm clear and if you see what I want to say but Here are two snapshot of the first graph (in green) with cacti is what I do not want, and another with an old rrd and not cacti where you can see flat area but not holes.
If someone could help me giving me ideas or suggestions..
Thanx by advance


Sig
Attachments
cacti.JPG
cacti.JPG (59.91 KiB) Viewed 1586 times
Shaman
Posts: 15
Joined: Thu Jul 28, 2005 12:49 pm
Location: Kingston, ON

Post by Shaman »

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If you updated the max value in the data template, you'll need to manually update your rrd file(s), since cacti does not do this (yet).
cornut
Posts: 16
Joined: Tue Oct 25, 2005 11:04 am

Post by cornut »

The problem is actually I would like rrd to draw a line instead of drawing nothing when cacti reach the max value. Is that possible?
dgamble
Cacti User
Posts: 68
Joined: Tue Mar 08, 2005 4:50 pm
Location: Calgary, AB, CA

Post by dgamble »

cornut wrote:The problem is actually I would like rrd to draw a line instead of drawing nothing when cacti reach the max value. Is that possible?
Nope. This is actually a rrdtool-ism, and very much by design.

The purpose of this maximum value is to have rrdtool reject any values which are higher than they could/should be. For example, if the poll showed that your interface did 40MB/s, and the interface only does 10MB/s (and such you've configured your maximum value appropriately) then rrdtool knows that value should be thrown out. Otherwise you'd get a big spike on your graph, and your summary values would be affected too.

The "gap" means that there was no useful data during that period.

Hope this helps,
dgamble
Cacti User
Posts: 68
Joined: Tue Mar 08, 2005 4:50 pm
Location: Calgary, AB, CA

Post by dgamble »

Further to this, comparing your two graphs, I am guessing your second ("working") graph simply had a higher maximum value configured, or no maximum at all.

You should just ensure that your maximum value for your graphs are correct. For an interface, you could set it to the maximum speed of said interface.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests