Cool zoom/history feature for cacti :)
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
A new release which corrects the bug with undefined variable due to php.ini configuration (register_globals = Off) is available at http://linkdown.org/download/cactistori ... .02.tar.gz
It works great.. Thanks..
I think I'm having another issue, don't really know if it's just me or what.
I get an error message in my apache 'error_log' file:
It also generates this entry in the apache 'access_log' file:
no graph is generated by cactistoric.
The error it's generated as soon as I click on 'zoom'.
The weird thing is that it only happends with some graphs.
I don't really know what to make of it.
If anyone else runs into this please let me know...
Thanks.
- D
I think I'm having another issue, don't really know if it's just me or what.
I get an error message in my apache 'error_log' file:
Code: Select all
ERROR: the first entry to fetch should be after 1980
Code: Select all
192.168.1.168 - - [10/Dec/2003:16:50:45 +0100] "GET /cacti/cactistoric.php?local_graph_id=106&rra_id=4 HTTP/1.1" 200 18583
192.168.1.168 - - [10/Dec/2003:16:50:46 +0100] "GET /cacti/graph_image.php?local_graph_id=106&rra_id=4&graph_start=1070985045&graph_end=1071071445&graph_height=192&graph_width=800 HTTP/1.1" 200 11589
The error it's generated as soon as I click on 'zoom'.
The weird thing is that it only happends with some graphs.
I don't really know what to make of it.
If anyone else runs into this please let me know...
Thanks.
- D
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
I'm facing the same problem here, some graphs won't show up when clicking on 'zoom'. I'm using PHP 4.3.3 with
Regards,
Frédéric Mangeant
I'm facing the same problem here, some graphs won't show up when clicking on 'zoom'. I'm using PHP 4.3.3 with
Code: Select all
register_globals = Off
php.ini:register_argc_argv = On
Frédéric Mangeant
While playing around trying to find the cause of this issue. I noticed the graphs will zoom fine with " Interface - Traffic (bytes/sec)" graph template.diegov wrote:It works great.. Thanks..
I think I'm having another issue, don't really know if it's just me or what.
I get an error message in my apache 'error_log' file:
It also generates this entry in the apache 'access_log' file:Code: Select all
ERROR: the first entry to fetch should be after 1980
no graph is generated by cactistoric.Code: Select all
192.168.1.168 - - [10/Dec/2003:16:50:45 +0100] "GET /cacti/cactistoric.php?local_graph_id=106&rra_id=4 HTTP/1.1" 200 18583 192.168.1.168 - - [10/Dec/2003:16:50:46 +0100] "GET /cacti/graph_image.php?local_graph_id=106&rra_id=4&graph_start=1070985045&graph_end=1071071445&graph_height=192&graph_width=800 HTTP/1.1" 200 11589
The error it's generated as soon as I click on 'zoom'.
The weird thing is that it only happends with some graphs.
I don't really know what to make of it.
If anyone else runs into this please let me know...
Thanks.
- D
If I pick 95th percentile or total bandwidth it just won't work.
Hope this helps!
Cheers,
Diego Vargas
fix for cactistoric
Hi,
I also had problems with the latest version of cactistoric.
I had a quick look at lib/rrd.php, I don't exactly know, whether the changes I have made are correct for the functioning of this all, as I didn't look at the overall functioning of the application, but the values/graphs I get seem to be fine.
I have made the following changes:
philipp
I also had problems with the latest version of cactistoric.
I had a quick look at lib/rrd.php, I don't exactly know, whether the changes I have made are correct for the functioning of this all, as I didn't look at the overall functioning of the application, but the values/graphs I get seem to be fine.
I have made the following changes:
Code: Select all
lib/rrd.php, line 277, insert this line:
// 946681200 = 1.1.2000 00:00:00
$start_seconds = ($seconds < 946681200) ? "-$seconds" : $seconds;
a couple of lines later, change
$command = "fetch $data_source_path AVERAGE -r $seconds -s -$seconds -e now";
to
$command = "fetch $data_source_path AVERAGE -r $seconds -s $start_seconds -e now";
Re: fix for cactistoric
Anonymous wrote:Hi,
I also had problems with the latest version of cactistoric.
I had a quick look at lib/rrd.php, I don't exactly know, whether the changes I have made are correct for the functioning of this all, as I didn't look at the overall functioning of the application, but the values/graphs I get seem to be fine.
I have made the following changes:philippCode: Select all
lib/rrd.php, line 277, insert this line: // 946681200 = 1.1.2000 00:00:00 $start_seconds = ($seconds < 946681200) ? "-$seconds" : $seconds; a couple of lines later, change $command = "fetch $data_source_path AVERAGE -r $seconds -s -$seconds -e now"; to $command = "fetch $data_source_path AVERAGE -r $seconds -s $start_seconds -e now";
This worked for me!
Thanks,
Diego V.
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
A release correcting this problem is available at http://linkdown.org/download/cactistori ... .03.tar.gz
Try it and tell me if everything is fine.
Try it and tell me if everything is fine.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
In fact, I have still one small problem...
If, when zooming, I choose :
- end day = start day
- end time = start time + 2 (for example, start = 10 and end = 12)
I don't get the graph, but : in my error_log.
Is it possible to zoom on, for example, 1 hour ?
Regards,
Frédéric Mangeant
If, when zooming, I choose :
- end day = start day
- end time = start time + 2 (for example, start = 10 and end = 12)
I don't get the graph, but :
Code: Select all
ERROR: start (1071500411) should be less than end (1071493120)
Is it possible to zoom on, for example, 1 hour ?
Regards,
Frédéric Mangeant
fmangeant wrote:In fact, I have still one small problem...
If, when zooming, I choose :
- end day = start day
- end time = start time + 2 (for example, start = 10 and end = 12)
I don't get the graph, but :in my error_log.Code: Select all
ERROR: start (1071500411) should be less than end (1071493120)
Is it possible to zoom on, for example, 1 hour ?
Regards,
Frédéric Mangeant
On which graph?
Dailly, Weekly, Monthy or Yearly.
This is very important. If you want to see 5 minutes of average data, you will need to zoom on the dailly graph.
You can always resize the rrd file with the 'rrdtool resize' command.
Good luck,
Diego Vargas
Who is online
Users browsing this forum: No registered users and 1 guest