Hello,
Before posting i searched a lot and could not find the answer to my question.
I am using:
Cacti Version 0.8.8a
Cacti OS unix
RRDTool Version RRDTool 1.4.x
My question is, how can I stop graph updating (I want to freeze the graph so last point should be the time i stopped the graph and not the real time) and keep historical data. If I disable "Data Sources" rrd file is still "alive" and having the real time, so after a wile i will loose all my data.
Thanks.
How to stop graph from updating and keep historical data
Moderators: Developers, Moderators
Re: How to stop graph from updating and keep historical data
Any help, please
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: How to stop graph from updating and keep historical data
I am absolutely not sure, but maybe rrdtool asks for the current time on your machine and takes it from there. If that would be really true, you have to turn the time of your machine back... I suggest you read the man page of rrdtoolenyalius7 wrote:Any help, please
Sounds rediculous...
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: How to stop graph from updating and keep historical data
If you dont want to gather data on all graphs anymore you could simply disable the poller.
If you dont want a single graph to update you can disable the associated datasources in console->datasources. You can check if it worked by checking the last update timestamp of your rrd file with the rrdtool fetch command.
The time Interval that is shown on the graph, when you look at it in the webinterface has nothing to do with the rrd file itself. The graph is shown with the rrdtool graph command and there you can enter basically any time interval (even some time before the rrd file existed - if the rrd doesnt have values for the time interval you look at, the graph is simply empty)
If you dont want a single graph to update you can disable the associated datasources in console->datasources. You can check if it worked by checking the last update timestamp of your rrd file with the rrdtool fetch command.
The time Interval that is shown on the graph, when you look at it in the webinterface has nothing to do with the rrd file itself. The graph is shown with the rrdtool graph command and there you can enter basically any time interval (even some time before the rrd file existed - if the rrd doesnt have values for the time interval you look at, the graph is simply empty)
Re: How to stop graph from updating and keep historical data
Yes i know that after disabling the datasource rrd file will not be updated again
Also I know that if i change the url at my web browser (timestamps of zoom) i can access any time point. My question is what can i do in order my cacti webinterface will show by default the graph until the time i stopped it from datasrouce updating and not until my current date.dtr wrote: The graph is shown with the rrdtool graph command and there you can enter basically any time interval (even some time before the rrd file existed - if the rrd doesnt have values for the time interval you look at, the graph is simply empty)
Re: How to stop graph from updating and keep historical data
Ok i think there is no way to do what i want to do, because there are filters in showing graphs (last half hour, last hour..) and this is for all graphs.
I just wanted to see in the same page, graphs from different periods, until i stopped the polling for this graphs.
I mean if i stopped one graph 1 week ago and other 1 month ago and i have filter "last day" i want to see the data from the last day before i stopped the polling, so for the first graph it should be 8 (7+1) days ago from today and for the second 32 (31+1) days ago from today. But as i can see this is not the case filters working for current date.
I just wanted to see in the same page, graphs from different periods, until i stopped the polling for this graphs.
I mean if i stopped one graph 1 week ago and other 1 month ago and i have filter "last day" i want to see the data from the last day before i stopped the polling, so for the first graph it should be 8 (7+1) days ago from today and for the second 32 (31+1) days ago from today. But as i can see this is not the case filters working for current date.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How to stop graph from updating and keep historical data
rrd files will age out even when no updates occur. Only method known to me is to increase the RRAs to add more "slots". This way, it will take more time until data will be "squeezed out"
R.
R.
Who is online
Users browsing this forum: No registered users and 2 guests