MRTG has the option unknaszero = Log unknown data as zero instead of the default behaviour of repeating the last value seen. Be careful with this, often a flat line in the graph is much more obvious than a line at 0.
Cacti always uses this option: unknown data = zero . For Cpu-load is this interesting, but for volume-usage it seems for me more interesting that you can choose to let cacti use the last seen value. So if the server is temporarely inaccessible, the graph of the volume-usage doesn't has gaps.
Checked cacti, but couldn't find this option.
Using last values for graph when not able to poll.
Moderators: Developers, Moderators
personally, having written a data gatherer that did just this by mistake, for remote disk space/useage, I would have spotted a disk with Zero size, but one that was 3G and not growing it just looked normal, until quota threw me off and I learnt to add up.
I can see where this might be useful, but it needs to be optional, In my world data is data and not measuring it should be "nothing" not the last known value.
I can see where this might be useful, but it needs to be optional, In my world data is data and not measuring it should be "nothing" not the last known value.
Phil
yes, sometimes messes up the things, sometimes is very usefu
here.. i have a optical fiber connection, with 10mbits/s metropolitan bandwidth, and only 512kbits/s outside the network bandwidth. so i want to generate graphs for the outside traffic, and i set a max value of 512kbits to remove the spikes. all is fine, but when someone transfers from the metropolitan are leaves holes in my graph.
in this situation i would like to set a repeat last value seen behaviour, is not hard to implement it.
if someone can give me some directions(variable, functions) to modify in order to alter the behaviour, i`ll appreciate that.
thank you
in this situation i would like to set a repeat last value seen behaviour, is not hard to implement it.
if someone can give me some directions(variable, functions) to modify in order to alter the behaviour, i`ll appreciate that.
thank you
Re: Using last values for graph when not able to poll.
First of all, excuse me for reviving a very old topic, but:
Is there any information about this? The possibility of configuring cacti to graph the unknown data = last value seen?
I would greatly appreciate any kind of feedback related to this.
Thanks in advance.
Is there any information about this? The possibility of configuring cacti to graph the unknown data = last value seen?
I would greatly appreciate any kind of feedback related to this.
Thanks in advance.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Using last values for graph when not able to poll.
We do not have plans to fake wrong values into rrd files, not even as an option.
RRDTool itself has no option to do so as well.
So I fear, that you will have to do this on your own
R.
RRDTool itself has no option to do so as well.
So I fear, that you will have to do this on your own
R.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Using last values for graph when not able to poll.
For things that 'might' be gappy, simply increase the heartbeat, and your problems will be solved.
TheWitness
Code: Select all
root@SYMPH1:~# rrdtool tune
RRDtool 1.4.3 Copyright 1997-2009 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mar 26 2011 03:16:40
Usage: rrdtool [options] command command_options
* tune - Modify some basic properties of an RRD
rrdtool tune filename
[--heartbeat|-h ds-name:heartbeat]
[--data-source-type|-d ds-name:DST]
[--data-source-rename|-r old-name:new-name]
[--minimum|-i ds-name:min] [--maximum|-a ds-name:max]
[--deltapos scale-value] [--deltaneg scale-value]
[--failure-threshold integer]
[--window-length integer]
[--alpha adaptation-parameter]
[--beta adaptation-parameter]
[--gamma adaptation-parameter]
[--gamma-deviation adaptation-parameter]
[--aberrant-reset ds-name]
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests