All RRAs get graphed, regardless of selection...

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

Moderators: Developers, Moderators

Post Reply
Guest

All RRAs get graphed, regardless of selection...

Post by Guest »

I'm having Cacti graph the data in an RRD from an external source, and it's doing that rather nicely. But there is one cosmetic problem which would be really difficult to sweep under the carpet.

See, I created RRAs to mirror the ones which exist in the RRD file I'm importing. Then I created a Data Source for one of the data sources in the RRD file, and I only selected the RRAs I was interested in from the list of available ones (incidentally, this did not include any of the ones provided with the base Cacti install). Finally, I created a graph which plots the Data Source. The Preview graph gets displayed properly, and when I click on it I get a page displaying graphs corresponding to all of the RRAs I selected.

However, the problem is that it also displays graphs for those RRAs which I did not select. It displays all the graphs, for the default RRAs and for the ones which I created. It seems counter-intuitive that it would display graphs for RRAs which I did not select

There is a topic which addresses the issue. But I think the proposed solution is less than optimal, since the suggested fix was to make a hard-coded exception in the source code.

Has anyone else run into this problem? Is anyone close to the code aware of it? Is this a "known" bug?

Otherwise, I can offer nothing but praise for Cacti. I started using it this week, and it's been a piece-of-cake to set-up and work with. I had configuration troubles with PHP, but that's hardly Cacti's fault. If I had a better working knowledge of PHP (and my database experience is next to nonexistent), I might try fixing this. Thankfully it very much resembles Perl and C so I can make lots of educated guesses. :D
pdelong
Posts: 5
Joined: Fri Sep 27, 2002 12:17 pm
Location: Piscataway, NJ
Contact:

I goofed

Post by pdelong »

I posted this.

But I didn't realize that I wasn't logged-in when I did it. I thought it automatically logged me in right after I created my account, but I was wrong to assume. :)

Please reply to this post if you do, so I get notified.

Oops.
pdelong
Posts: 5
Joined: Fri Sep 27, 2002 12:17 pm
Location: Piscataway, NJ
Contact:

...one more thing...

Post by pdelong »

I forgot to mention:

After creating my custom RRAs, all graphs were affected, not just the one I created.
cocuzza
Posts: 2
Joined: Fri Jul 18, 2003 11:18 am
Location: Italy - Milan
Contact:

Post by cocuzza »

I have the same Problem. I created a new RRA's and i want use it just in one graph ... but after the creation of it every graph going to use the rra. Anybody know the solution for this problem? It's really important resolve this issue.


Thank's Claudio
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

You are correct, this problem has been brought up before. My initial hesitation in making this change was the fact that a graph can contain any number of data sources each containing possibly different RRAs. I think that I will write a function that returns the sum of all RRAs used on a graph and just display those.

For now, you can expect the fix by 0.8.3. I realize that people want this, so I will give it priority.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests