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.
All RRAs get graphed, regardless of selection...
Moderators: Developers, Moderators
I goofed
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.
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.
...one more thing...
I forgot to mention:
After creating my custom RRAs, all graphs were affected, not just the one I created.
After creating my custom RRAs, all graphs were affected, not just the one I created.
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
For now, you can expect the fix by 0.8.3. I realize that people want this, so I will give it priority.
-Ian
Who is online
Users browsing this forum: No registered users and 1 guest