Fixing warnings reported in data sources

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

Moderators: Developers, Moderators

Post Reply
dma_k
Posts: 47
Joined: Thu Aug 07, 2008 6:56 am
Contact:

Fixing warnings reported in data sources

Post by dma_k »

Dear community,

For some of the datasources I have the following message displayed when I open it for editing from "Management → Data Sources":
cacti_1.png
cacti_1.png (49.47 KiB) Viewed 1495 times
The text of the warning reads "File RRA '0' has same CF/steps (AVERAGE, 1) as '1' File RRA '1' has same CF/steps (AVERAGE, 1) as '0' File RRA '5' has same CF/steps (MAX, 1) as '6' File RRA '6' has same CF/steps (MAX, 1) as '5'". First of all these are 4 different warnings displayed in one line which is difficult to interpret – why cannot it be split into lines? Second it says "A is same as B" and "B is same as A" just repeating the same information. Third is that "same CF/steps" is not so easy to associate with above table because it does not have such columns (is it "PDP per row"?).

How to solve the issue? Can RRA "0" (RRA:AVERAGE:0.5:1:500) and "5" (RRA:MAX:0.5:1:500) be safely removed from RRD using rrdtune?

P.S. I am using Cacti 1.2.16.
Last edited by dma_k on Wed Apr 07, 2021 5:36 am, edited 2 times in total.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Fixing warnings reported in data sources

Post by TheWitness »

I would recommend you create a new data source profile and move to it. I recognize the setup and it's from an upgrade situation where a previous template improperly used both 1 minute and 5 minute RRA definitions. You may have to move all your Data Templates to the new profile, and then recreate your Graphs.
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?
dma_k
Posts: 47
Joined: Thu Aug 07, 2008 6:56 am
Contact:

Re: Fixing warnings reported in data sources

Post by dma_k »

Thanks for your reply. If what you suggest requires manipulations with Data Templates, then I would say this is not the best option for me, because I have about 20 such data sources with warnings, so it would be quite a lot of clicking. And what about the data? I believe it should be exported with rrddump and then imported again... this is sort of equivalent to the effort to fix RRD directly. Or do I miss something? The existing Data Templates could be fixed directly in the database (I hope). What do you think?

As to the displaying of warnings I've checked that the information from rrdtune is just dumped to HTML. I think it would better be wrapped to <pre> like below:
cacti_3.png
cacti_3.png (18.75 KiB) Viewed 1485 times
If you agree I can create an improvement ticket in Github.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests