Graphs in tree mode always display in daily mode
Moderators: Developers, Moderators
Graphs in tree mode always display in daily mode
Hi,
Before all, sorry if my english is not perfect, I'm french and i do the best
My problem is : I monitore my server and i have create more than 25 graphs and I think it's too much for 1 page. So I have create a tree with some headers where i have order all my graphs, but when I add a graph I have set the parameter "Round Robin Archive" (for choose in which mode the graph will be display) and it doesn't seem to work, all the graphs are display in daily mode.
I have see somewhere that the user parameters "graph timespan" have priority on the parameter "Round Robin Archive" set on the graphs added in the tree, so I put directly in the database the user parameter "graph timespan" to 0... It doesn't work any more ...
So I need helps ;o)
Oups, i work on debian sarge / cacti 0.8.6i .... I don't think the problem is from php/apache or mysql but i the version can help you i can send it
Thanks
Before all, sorry if my english is not perfect, I'm french and i do the best
My problem is : I monitore my server and i have create more than 25 graphs and I think it's too much for 1 page. So I have create a tree with some headers where i have order all my graphs, but when I add a graph I have set the parameter "Round Robin Archive" (for choose in which mode the graph will be display) and it doesn't seem to work, all the graphs are display in daily mode.
I have see somewhere that the user parameters "graph timespan" have priority on the parameter "Round Robin Archive" set on the graphs added in the tree, so I put directly in the database the user parameter "graph timespan" to 0... It doesn't work any more ...
So I need helps ;o)
Oups, i work on debian sarge / cacti 0.8.6i .... I don't think the problem is from php/apache or mysql but i the version can help you i can send it
Thanks
You are right it seems that the parameter "default RRA" in the user configuration just affect the thumbnail view. But why the parameter RRA set on an entry of a tree mode has no effect on my tree view ...
See the 3 screenshots ...
See the 3 screenshots ...
- Attachments
-
- Parameters of entry <CPU>
- RRA.JPG (53.13 KiB) Viewed 2934 times
-
- Parameters of entry <disk space on />
- RRA2.JPG (54.73 KiB) Viewed 2934 times
-
- The tree view of my two entry <CPU> and <disk space on />
- TreeView.JPG (121.08 KiB) Viewed 2934 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Whoops, today there is really an increase on those "rra versus timespan" stuff.
Choosing an rra has "virtually nothing" in common with "defining a timespan". Unfortunately, current cacti rra definitions may raise the impression, that there is a close correlation between the both of them. But this is not true.
You last two screenshots (from tree settings) show different rra's to be chosen. While I'm not pretty sure it will work this way, there's an option to direct rrd not to automatically choose the best fit rra but to use the one given here.
Apart from this, you may define the timespan seen on the graph.
To debug this, please enable web logging (Settings) and grep both rrdtool graph statements from cacti.log.
But it may be better to choose some alternative approach: What are you really aiming at? Do you want to direct rrdtool to a specific rra when graphing? Or do you want to see different graph timespans in a single tree view (this is not possible, AFAIK)?
Reinhard
Choosing an rra has "virtually nothing" in common with "defining a timespan". Unfortunately, current cacti rra definitions may raise the impression, that there is a close correlation between the both of them. But this is not true.
You last two screenshots (from tree settings) show different rra's to be chosen. While I'm not pretty sure it will work this way, there's an option to direct rrd not to automatically choose the best fit rra but to use the one given here.
Apart from this, you may define the timespan seen on the graph.
To debug this, please enable web logging (Settings) and grep both rrdtool graph statements from cacti.log.
But it may be better to choose some alternative approach: What are you really aiming at? Do you want to direct rrdtool to a specific rra when graphing? Or do you want to see different graph timespans in a single tree view (this is not possible, AFAIK)?
Reinhard
I am having the same problem. Adding a graph setting the front display in the tree to hourly display still shows up the daily. I just want the "thumbnail" or link or whichever to call it to display the weekly graph instead of the daily, when clicked on it should display all (daily, weekly, monthly etc).
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
In the current Cacti, when the Timespan is enabled, the default RRA has little meaning. As lvm has described, RRDtool will automatically select the "best" RRA in order to display your data based upon the Timespan.
When I wrote this function, I had this same discussion with Ian. What I would like to say is that this is a documentation problem rather than a bug. See what happens when you turn off the Timespan selector and see if the output is correct.
Larry
When I wrote this function, I had this same discussion with Ian. What I would like to say is that this is a documentation problem rather than a bug. See what happens when you turn off the Timespan selector and see if the output is correct.
Larry
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?
OK lot of thanks for these explanations.
So if I well understand it's not possible to display different timespan in a single tree view ... (For exemple, in my first screenshot, the CPU as "Daily" and the storage as "monthly").
Perhaps there is a workaround ?. If not, it could be a good improvement in the next release
So if I well understand it's not possible to display different timespan in a single tree view ... (For exemple, in my first screenshot, the CPU as "Daily" and the storage as "monthly").
Perhaps there is a workaround ?. If not, it could be a good improvement in the next release
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
AFAIK: no. IMHO, your suggestion would lead to misunderstanding of graphs due to different timestamps, but that's only meCoCoTTe wrote:So if I well understand it's not possible to display different timespan in a single tree view ... (For exemple, in my first screenshot, the CPU as "Daily" and the storage as "monthly").
Reinhard
Yes it's a point of view that differents timespan can be confused, but is the CPU stats have to be display with the same timespan as the uptime, or "the logedd in user" ? There is no correlation with the three graphs so it's in this case not confused at all ...
Just for information, in fact I test cacti because I think it can be a good tools for my compagny. But my boss really want to give access to a single board to his director, and this board have to be the simple and all the graph of the first page have to be relevant (in not sure of the translation from french, what I want to say is all the graph haven't to be resize to give sense).
You are right for technical people it not make sense that the graph are not display with the same timespan, but a director want a global view of some parameters (he doesn't debug anything ;o) so I really think this "simple" skill can make cacti a good tools for display board for users, technicals AND management ...
One time more, thanks a lot for these explanations. Can a developper of cacti answer me if there is a workaround or if a quick hacking of some php files can do what i want ?
If not I will try understand php files and cacti backgroung to make have this functionnality ...
Just for information, in fact I test cacti because I think it can be a good tools for my compagny. But my boss really want to give access to a single board to his director, and this board have to be the simple and all the graph of the first page have to be relevant (in not sure of the translation from french, what I want to say is all the graph haven't to be resize to give sense).
You are right for technical people it not make sense that the graph are not display with the same timespan, but a director want a global view of some parameters (he doesn't debug anything ;o) so I really think this "simple" skill can make cacti a good tools for display board for users, technicals AND management ...
One time more, thanks a lot for these explanations. Can a developper of cacti answer me if there is a workaround or if a quick hacking of some php files can do what i want ?
If not I will try understand php files and cacti backgroung to make have this functionnality ...
Sorry i miss this sentence in your answer ...TheWitness wrote:See what happens when you turn off the Timespan selector and see if the output is correct.
Larry
I try it : it's the default timespan take to display graph ...
I try to set 0 the default timespan directly on database with :
update settings_graphs set value=0 where name = 'default_timespan';
It doesn't work better it display last day...
I try to set 0 the default RRA directly on database with :
update settings_graphs set value=0 where name = 'default_rra_id';
It doesn't change anything
Good try no ? ;o)
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
When viewing a graph, you can press the Settings tab in the interface. From there, you can disable the timespan selector.
From what you describe, you would like a "Dashboard" of some sort, customized to your managers liking. Well, that is a nice thing, but has not been written, at least to my knowledge.
There are some interesting plugins though... It sounds like this is the makings of a new one.
TheWitness
From what you describe, you would like a "Dashboard" of some sort, customized to your managers liking. Well, that is a nice thing, but has not been written, at least to my knowledge.
There are some interesting plugins though... It sounds like this is the makings of a new one.
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: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Your administrator has disabled this for your ID. If you are the administrator, you need to goto User Management and verify that you have the ability to save custom graph settings.
TheWitness
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 0 guests