[Solved] RRA problems. CF dissapears with 0.8.7
Moderators: Developers, Moderators
[Solved] RRA problems. CF dissapears with 0.8.7
Hi!
I've a Data Template in my cacti 0.8.6j and I try to import in a new 0.8.7 installation. With the 086 version I can create Data Sources like this:
Data Source Debug
/usr/bin/rrdtool create \
/www/htdocs/cacti/rra/machine1_cpu_used_2611.rrd \
--step 300 \
DS:cpu_used:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
But when I try to create the same Data Source in 087 i obtain this one:
/usr/bin/rrdtool create \
/usr/local/apache2/htdocs/cacti/rra/machine1_cpu_used_39.rrd \
--step 300 \
DS:cpu_used:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
In the Data Template definition i've selected all the Associated RRA's.
I've found only 1 difference between these 2 installations: RRDTools version.
Any idea?
Thanks in advance.
Xavier
I've a Data Template in my cacti 0.8.6j and I try to import in a new 0.8.7 installation. With the 086 version I can create Data Sources like this:
Data Source Debug
/usr/bin/rrdtool create \
/www/htdocs/cacti/rra/machine1_cpu_used_2611.rrd \
--step 300 \
DS:cpu_used:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
But when I try to create the same Data Source in 087 i obtain this one:
/usr/bin/rrdtool create \
/usr/local/apache2/htdocs/cacti/rra/machine1_cpu_used_39.rrd \
--step 300 \
DS:cpu_used:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
In the Data Template definition i've selected all the Associated RRA's.
I've found only 1 difference between these 2 installations: RRDTools version.
Any idea?
Thanks in advance.
Xavier
Last edited by Xumet on Fri Oct 26, 2007 2:56 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There is a new option in 0.8.7 to optionally import the RRA definitions from the Graph Template. This was made optional due to the fact that some templates change the sytem defaults, which is very bad.
You likely did not notice, or did not check the setting to import the RRA definitions. Therefore, you now have the defaults. This is the expected behavior.
You need to edit the data template and select the RRA's that you want associated with this data template, and you will be back in business. If you would like more explanation as to why we did this, simply repost.
TheWitness
You likely did not notice, or did not check the setting to import the RRA definitions. Therefore, you now have the defaults. This is the expected behavior.
You need to edit the data template and select the RRA's that you want associated with this data template, and you will be back in business. If you would like more explanation as to why we did this, simply repost.
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is being done to prevent you from having weeks later when you boss asks you, after you've imported some other template, why you new devices are not keeping 5 minute data for six months like they are supposed to.
You inspect the RRA's that you setup specifically for this and find that they are not at some value you had no recollection of ever setting. Well, prior to this version, that would happen. Pissed me off a few times when I first started using Cacti.
So now, you have to knowingly do this. That is all.
TheWitness
You inspect the RRA's that you setup specifically for this and find that they are not at some value you had no recollection of ever setting. Well, prior to this version, that would happen. Pissed me off a few times when I first started using Cacti.
So now, you have to knowingly do this. That is all.
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?
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?
On a side note, if someone is importing templates and not able to make them work, and your graph debug is giving you:
ERROR: the RRD does not contain an RRA matching the chosen CF
For searching purposes, I've found this this thread explains the reason for my problems, as my data sources were missing MIN and LAST in their data source debug.
I had to import the templates using "custom RRA settings from the template". Changing the default RRA settings would have also worked, I'm sure.
In daily/weekly/monthly/yearly, MIN and LAST were not selected.
ERROR: the RRD does not contain an RRA matching the chosen CF
For searching purposes, I've found this this thread explains the reason for my problems, as my data sources were missing MIN and LAST in their data source debug.
I had to import the templates using "custom RRA settings from the template". Changing the default RRA settings would have also worked, I'm sure.
In daily/weekly/monthly/yearly, MIN and LAST were not selected.
There is an updated functions.php in the announcement forum which band-aids this problem in cacti 0.8.7a.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Darwin,
Please elaborate.
Thanks,
TheWitness
Please elaborate.
Thanks,
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?
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 2 guests