Cool zoom/history feature for cacti :)

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

I've just tried cactistoric 0.8.5-04 on cacti 0.8.5a and it works perfectly!

Is there a way to force the x axis labelling? I often graph two or three weeks at a time. Unfortunately, the output is a bit confusing as the x axis is labeled monday-Sunday and not with a specific date/week. I run into the same problem when I graph a few days at a time as well.

Not a show stopper, just a "would be nice" feature....

Mike
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

I've just tried cactistoric 0.8.5-04 on cacti 0.8.5a and it works perfectly!

Is there a way to force the x axis labelling? I often graph two or three weeks at a time. Unfortunately, the output is a bit confusing as the x axis is labeled monday-Sunday and not with a specific date/week. I run into the same problem when I graph a few days at a time as well.

Not a show stopper, just a "would be nice" feature....

Mike
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi Bruno

I'm using Cacti 0.8.5a with cactistoric 0.8.5-0.0.4; everything's working fine, exept that I can't import templates (the postfix graph template, for example).
After a quick look at include/config_arrays.php, the hash_version_codes seems to miss an entry :

Code: Select all

$hash_version_codes = array(
        "0.8.4" => "0000",
        "0.8.5" => "0001"
        );
The "genuine" include/config_arrays.php in Cacti 0.8.5a looks like this :

Code: Select all

$hash_version_codes = array(
        "0.8.4" => "0000",
        "0.8.5" => "0001",
        "0.8.5a" => "0002"
        );
After adding this line, imports works fine again :)

Cheers,

Frédéric Mangeant
julien_lf

Post by julien_lf »

Thanks for this great addon (for a great program)

i have a newbie question:

where do i have to look to modify the "date to date" and "Graph generated at date" that cactistoric adds on all graphs ?

thanks
Guest

Post by Guest »

This addon is very good :)

My little problem is:

When i want to see my yesterday graphen, there is no probleme witch the "5mn average" records.
The probleme is when i want to see 2 day ago. In this graph, there is a 30 mn average.
I've seen the probleme that are caused by a old rrd version but this is not my probleme. Is it normal?

thanks
Guest

Post by Guest »

ok, i'have repared it.
:)
Bruno Prigent
Cacti User
Posts: 68
Joined: Tue Apr 22, 2003 5:51 am

Post by Bruno Prigent »

Thanks frederic. I corrected the cactistoric-0.8.5-0.04.tar.gz archive
Bruno Prigent
Cacti User
Posts: 68
Joined: Tue Apr 22, 2003 5:51 am

Post by Bruno Prigent »

julien,

you should take a look at lib/rrd.php line 619.

Bruno
Rene Doove
Posts: 4
Joined: Tue May 04, 2004 7:57 am

Week and Monthly graph not showing correctly

Post by Rene Doove »

I installed cactistoric and adapted the 5 minute RRA row number to 17280
and did the resize with the script that was in the manual.
But now my week and monthly graph are not showing correctly..
The week graph only starts from about 4 days ago and the monthly graphs look like the same. So I fall back to the 'old' situation.
Does anybody know what i am doing wrong here?

Greetz, Rene
User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

Post by dieter »

a little but usefull adaption to the code of cactoristic.php:

end_box();
print "<input type='image' src='images/button_view.gif' alt='Go' border='0' align='absm iddle' action='submit'>";
print "&nbsp;&nbsp;<A HREF='graph.php?local_graph_id=".$_GET['local_graph_id']."&rra_id=".$_GET['rra_id']."'><IMG src='images/button_cancel2.gif' alt='Back' border='0' align='absm iddle'></A>";
print "</td></tr>";
print "</table>";
print "</form>";

include_once("./include/bottom_footer.php");

This will give you the possibility to go back to the graph.php page
User avatar
MagnaChef
Cacti User
Posts: 164
Joined: Tue Nov 25, 2003 3:58 pm
Location: Buffalo, NY

Odd Problem...

Post by MagnaChef »

I noticed that someone posted about this earlier but there was no response. I upgraded from cacti 0.8.4 to 0.8.5a and then installed cactistoric-0.8.5-0.04. I first did this on a test server to make that it would work, and it did, worked great. Then I got to the production server, and after upgrading cacti with no problem, I then installed cactistoric-0.8.5-0.04. When I click on "zoom" I get the following error:

Parse error: parse error, unexpected $ in /var/www/html/cacti/cactistoric.php on line 267

Could this be permission problem or php problem?

Both servers were Red Hat 8.0 running php version 4.2.2.

Any thoughts/Ideas would be great! Thanks.
User avatar
MagnaChef
Cacti User
Posts: 164
Joined: Tue Nov 25, 2003 3:58 pm
Location: Buffalo, NY

Post by MagnaChef »

Well...I decided to just move everything over to the test server that it worked on :wink:

Unfortunately, I had a few problems with the graphs and their displaying of the month graph. I can see the data in the Year Graph, but not in the Month and Week graph. Check out my post under general (graphs included):

http://www.raxnet.net/board/viewtopic.php?p=14050#14050

Any thoughts would be greatly appreciated! :D
Bruno Prigent
Cacti User
Posts: 68
Joined: Tue Apr 22, 2003 5:51 am

Post by Bruno Prigent »

take a look at my post in the general section : http://www.raxnet.net/board/viewtopic.php?p=14134#14134
Bookmarc
Posts: 18
Joined: Fri May 07, 2004 12:02 pm

Post by Bookmarc »

Hi Bruno,

I'm using cactistoric and i like it a lot.
I just saw on the cvs that a new version of cacti was coming out soon. (ver 0.8.6)

Any plan to update cactistoric so it works with the new version?

Would be great if your addon was merged with cacti ! :wink:

Thx a lot !
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Post by sini »

Hi,

If I place a comment |sum:auto:total:2:auto| in graph, zoom doesn't work!
Why?
Sini
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests