viewing graph presets for more then 2 days
Moderators: Developers, Moderators
viewing graph presets for more then 2 days
Hi,
I am wondering why in the graphs tab i can only see 2 days of data in my interface bits per second graphs.
If i choose 3 days or more i won't see the data for more than those 2 days in the past.
The picture i am sending attached shows what i mean.
The curious is that this does not happen to the cpu usage graphs.
Anyone can help me understand why there is this diference?
Another thing that may explain the diference, i just noticed, that if i click on the magnifying glass of a cpu graph i see the daily, weekly, monthly and yearly graphs but if i click on an interface traffic graph i only see the daily one. Whay is this happening?
Thank you very much.
I am wondering why in the graphs tab i can only see 2 days of data in my interface bits per second graphs.
If i choose 3 days or more i won't see the data for more than those 2 days in the past.
The picture i am sending attached shows what i mean.
The curious is that this does not happen to the cpu usage graphs.
Anyone can help me understand why there is this diference?
Another thing that may explain the diference, i just noticed, that if i click on the magnifying glass of a cpu graph i see the daily, weekly, monthly and yearly graphs but if i click on an interface traffic graph i only see the daily one. Whay is this happening?
Thank you very much.
- Attachments
-
- Cacti graphs.jpg (267.04 KiB) Viewed 5876 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hinurbo wrote:How can i change the rrd files so that i can hold more data?
you can edit the pre-defined RRAs (in Management -> Data Sources -> RRAs).
You can list them using this command :
Code: Select all
$ php -q add_tree.php --list-rras
Known RRAs:
id steps rows timespan name
1 1 8600 86400 Daily (5 Minute Average)
2 6 700 604800 Weekly (30 Minute Average)
3 24 775 2678400 Monthly (2 Hour Average)
4 288 797 33053184 Yearly (1 Day Average)
5 1 500 14400 Hourly (1 Minute Average)
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I have done the change in the console and put the same value for the number of rows in the 5 minute rras.
When i do the php command on the win2003 i get the message saying that the input file add_tree.php could not be opened.
I am trying to see if the graphs are now showing more data, more than 3 days in the past, but it doesn't seem like it. For example now here is 16:50 and i only can see back to saturday at about the same time.
Maybe i am missing something in Cacti.... if i have Cacti collecting information since January/07 shouldn't i be able to see today graph information for one day of February? Just by selecting that particular day in the From: To: fields of the Graphs View?
Please correct me if i am wrong.
Before i used simple mrtg and did not have the option to select the time frame that i wanted to see the graph data collected, now that option exists but still i can't see more than 3 days in the past or even see a particular period older than those same 3 same 3 days.
Thak you in advance for all the help.
When i do the php command on the win2003 i get the message saying that the input file add_tree.php could not be opened.
I am trying to see if the graphs are now showing more data, more than 3 days in the past, but it doesn't seem like it. For example now here is 16:50 and i only can see back to saturday at about the same time.
Maybe i am missing something in Cacti.... if i have Cacti collecting information since January/07 shouldn't i be able to see today graph information for one day of February? Just by selecting that particular day in the From: To: fields of the Graphs View?
Please correct me if i am wrong.
Before i used simple mrtg and did not have the option to select the time frame that i wanted to see the graph data collected, now that option exists but still i can't see more than 3 days in the past or even see a particular period older than those same 3 same 3 days.
Thak you in advance for all the help.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
That should not be a problem. Please post your whole RRA settings (select Data Source and find RRAs just below)nurbo wrote: I am trying to see if the graphs are now showing more data, more than 3 days in the past, but it doesn't seem like it. For example now here is 16:50 and i only can see back to saturday at about the same time.
Maybe i am missing something in Cacti.... if i have Cacti collecting information since January/07 shouldn't i be able to see today graph information for one day of February? Just by selecting that particular day in the From: To: fields of the Graphs View?
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I'm quite sure that this is due to the growing of the first consolidation level. Cacti does not allow for specifying the consolidation level used. RRDTool will then use a best fit algorithm to fetch the correct consolidation level (which in your case is the level 1 you've just grown). But as this level has not yet been filled, you see nothing in the past. Nevertheless, the data of the other consolidation levels is present (at least I assume so).
If you want to verify my assumption, please post the whole rrdtool graph statement (visit Graph Management and switch to DEBUG). I will modify it for you to let you verify it. But this is a test only.
Reinhard
If you want to verify my assumption, please post the whole rrdtool graph statement (visit Graph Management and switch to DEBUG). I will modify it for you to let you verify it. But this is a test only.
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Did you modify (rrdtool resize) all rrd files? In this case, my assumption would be wrong. If you did not modify CPU rrds, may assumption may still be correctnurbo wrote:Here is the capture in debug mode.
But why for the CPU graphs all the data is there and for the interface ones it isn't? For the cpu i can see a particular time window even if it is from two weeks ago.
Reinhard
Hi,
I am not finding where i can change "rrdtool resize" for the rrd files nor where is the difference between cpu and traffic rrd files!
The only change i made was that value for the daily rra.
This issue related to not seeing more than 2 days of traffic information is happening since the instalation.
Again i send 2 pictures of what happens when i custom select a specific period of time in the Graphs Tab. The other is a graph templat in debug mode for a cpu graph.
Bruno.
I am not finding where i can change "rrdtool resize" for the rrd files nor where is the difference between cpu and traffic rrd files!
The only change i made was that value for the daily rra.
This issue related to not seeing more than 2 days of traffic information is happening since the instalation.
Again i send 2 pictures of what happens when i custom select a specific period of time in the Graphs Tab. The other is a graph templat in debug mode for a cpu graph.
Bruno.
- Attachments
-
- Cacti CPU Usage1.jpg (209.35 KiB) Viewed 5623 times
-
- Cacti CPU Usage2.jpg (159.96 KiB) Viewed 5623 times
-
- Cacti Interface Traffic1.jpg (163.55 KiB) Viewed 5623 times
Who is online
Users browsing this forum: No registered users and 0 guests