Cool zoom/history feature for cacti :)
Moderators: Developers, Moderators
cactistoric 0-8.3 with cacti 0.8.3a
I am having trouble with getting cactistoric 0-8.3 to work with cacti 0.8.3a I intalled it without the functions.php like i read in the forums. The problem seems to be the zoom feature doesnt work correctly. I was curious if you could send me an example of a good functions.php file to make everything function properly.
Thanks in Advance,
Scott Bartlett
Thanks in Advance,
Scott Bartlett
Re: cactistoric 0-8.3 with cacti 0.8.3a
Me too !smb2520 wrote:I am having trouble with getting cactistoric 0-8.3 to work with cacti 0.8.3a I intalled it without the functions.php like i read in the forums. The problem seems to be the zoom feature doesnt work correctly. I was curious if you could send me an example of a good functions.php file to make everything function properly.
Thanks in Advance,
Scott Bartlett
CSV Output and errors with cactistoric...
Notice: Undefined index: cactistoric.php: in /usr/local/www/data-dist/cacti/include/functions.php on line 1212
I get this error when I click zoom in cactistoric... Anyone know what this means? I took the functions.php from the cactistoric 0.8.3 code and put in in the include directory for Cacti and got another error in graph_view.php on line 41...
I checked the install steps, didn't see anything that I missed... Can someone give me a hand?
Also, there was talk of adding CSV output to Cactistoric... Is that still being worked on? Is there any way you could also add a function to the graph where the point you hover over with the mouse gives you the current data collected at that time?
Great program.
I get this error when I click zoom in cactistoric... Anyone know what this means? I took the functions.php from the cactistoric 0.8.3 code and put in in the include directory for Cacti and got another error in graph_view.php on line 41...
I checked the install steps, didn't see anything that I missed... Can someone give me a hand?
Also, there was talk of adding CSV output to Cactistoric... Is that still being worked on? Is there any way you could also add a function to the graph where the point you hover over with the mouse gives you the current data collected at that time?
Great program.
Has anyone tried cactistoric on 0.8.4?
When I do this: mysql --password=test TEST < cactistoric.sql. I get this: ERROR 1146 at line 12: Table 'DTSLite.user_realm_filename' doesn't exist.
New install of cactistoric and Cacti 0.8.4.
I'm hoping there is an update to cactistoric in the works with compatability for 0.8.4 that includes CSV output option. Any updates? CSV output would be a great options for analysis and management type reports.
When I do this: mysql --password=test TEST < cactistoric.sql. I get this: ERROR 1146 at line 12: Table 'DTSLite.user_realm_filename' doesn't exist.
New install of cactistoric and Cacti 0.8.4.
I'm hoping there is an update to cactistoric in the works with compatability for 0.8.4 that includes CSV output option. Any updates? CSV output would be a great options for analysis and management type reports.
zoom, and rrd files size
Hello
i've got one question
i would like to have 2 years back history (5min graphs)
so i made some changes
rrdtool info rrd_file shows me something like that
rra[0].rows = 138240
rra[1].rows = 23040
rra[2].rows = 5760
rra[3].rows = 1594
rra[4].rows = 138240
rra[5].rows = 23040
rra[6].rows = 5760
rra[7].rows = 1594
is this values are correct?
now each rrd file has about 5 MB, it will grow up even more? or it will stay in this size?
regards
Suzumushi
i've got one question
i would like to have 2 years back history (5min graphs)
so i made some changes
rrdtool info rrd_file shows me something like that
rra[0].rows = 138240
rra[1].rows = 23040
rra[2].rows = 5760
rra[3].rows = 1594
rra[4].rows = 138240
rra[5].rows = 23040
rra[6].rows = 5760
rra[7].rows = 1594
is this values are correct?
now each rrd file has about 5 MB, it will grow up even more? or it will stay in this size?
regards
Suzumushi
Re: zoom, and rrd files size
Hi ,Suzumushi wrote:Hello
i've got one question
i would like to have 2 years back history (5min graphs)
so i made some changes
rrdtool info rrd_file shows me something like that
rra[0].rows = 138240
rra[1].rows = 23040
rra[2].rows = 5760
rra[3].rows = 1594
rra[4].rows = 138240
rra[5].rows = 23040
rra[6].rows = 5760
rra[7].rows = 1594
is this values are correct?
now each rrd file has about 5 MB, it will grow up even more? or it will stay in this size?
regards
Suzumushi
I store 3 months history and each my rrd file is 628420 bytes. So, they will stay in this size.
Upgrade of Cactistoric for 8.4
Hi,
I've became a cactistoric addicted but there is no new upgrade for the 8.4 is there any plan to have one sometimes cause I ve upgrade to the new version of cacti, so i don't know if i'm not going to downgrade if cactistoric dont come up !
thks for answer
I've became a cactistoric addicted but there is no new upgrade for the 8.4 is there any plan to have one sometimes cause I ve upgrade to the new version of cacti, so i don't know if i'm not going to downgrade if cactistoric dont come up !
thks for answer
Am I wrong? 17280rows = 2 months not 3! (5 min average)
Hi All,
From cactistoric INSTALL instruction:
" 3) Customize the number of row a rra should keep. I use 17280 rows in daily RRA to have 3 month of 5
minutes average data. In cacti go to Console/Available RRA's and modify the desired values or use
the script expand_rra.sql if you want 3 month history. "
hmmm.....???
Q1: Are You sure about it???
I am a bit slow thinking so I made it clear step by step.
Let's see!
----
DEFAULT Cacti Daily Grap 5 min Average
step = 1 (means 5 min average)
rows = 600
1row=300sec = 5min (5x60sec)
600row x 300sec = 180000sec=3000min
----
3000min/1440min = 2.083333 day
1 day = 60min x 24 = 1440min = 86400sec
1 month = 1440min x 30 = 43200min = 259200sec
1 year = 43200min x 12 = 518400min = 3110400sec
2 years = 5128499min x 2 = 103680min = 6220800sec
1 day 1440min/5min =288 row
1 month 43200min/5min = 8640 row
1 year 518400min = 103680 row
2 years = 207360 row
Here comes the interesting part!
So 17280 rows must equal 3 months. (the INSTALL says)
17280 x 300sec = 5184000sec
518400sec/86400sec(1day) = 60 days! = 2 months not 3.
Q2: Am I wrong?
Q3: I need a two years back history (5 min average) 6220800sec/300sec=20736 row will ok?
thx for answers!
System: Debian,cacti-0.8.3 with cactistoric-0.8.3 (works fine!) great prog!
From cactistoric INSTALL instruction:
" 3) Customize the number of row a rra should keep. I use 17280 rows in daily RRA to have 3 month of 5
minutes average data. In cacti go to Console/Available RRA's and modify the desired values or use
the script expand_rra.sql if you want 3 month history. "
hmmm.....???
Q1: Are You sure about it???
I am a bit slow thinking so I made it clear step by step.
Let's see!
----
DEFAULT Cacti Daily Grap 5 min Average
step = 1 (means 5 min average)
rows = 600
1row=300sec = 5min (5x60sec)
600row x 300sec = 180000sec=3000min
----
3000min/1440min = 2.083333 day
1 day = 60min x 24 = 1440min = 86400sec
1 month = 1440min x 30 = 43200min = 259200sec
1 year = 43200min x 12 = 518400min = 3110400sec
2 years = 5128499min x 2 = 103680min = 6220800sec
1 day 1440min/5min =288 row
1 month 43200min/5min = 8640 row
1 year 518400min = 103680 row
2 years = 207360 row
Here comes the interesting part!
So 17280 rows must equal 3 months. (the INSTALL says)
17280 x 300sec = 5184000sec
518400sec/86400sec(1day) = 60 days! = 2 months not 3.
Q2: Am I wrong?
Q3: I need a two years back history (5 min average) 6220800sec/300sec=20736 row will ok?
thx for answers!
System: Debian,cacti-0.8.3 with cactistoric-0.8.3 (works fine!) great prog!
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
-
- Cacti User
- Posts: 68
- Joined: Tue Apr 22, 2003 5:51 am
Hi,
cactistoric-0.8.4-0.01 is released and available at http://linkdown.org/download/cactistori ... .01.tar.gz.
Decompress the archive and read the INSTALL file.
I tested this version with cacti-0.8.4 installed from scratch on a Debian stable. Please backup your cacti directory before installing cactistoric, I don't wanna be responsible of any data loss.
The install is simpler than previous version since I don't have to modify the database to grant access to cactistoric.php (thanks RaX ).
Before reporting problems, be sure the files modified/added by cactistoric have the appropriate right and owner (ie. the same as cacti files).
If you have problems with "undefined variables" please post the error and the section "Error handling and logging" of your php.ini file.
For any problems, tell me if you allready used cacti and/or cactistoric, which version and tell me if cacti was working before you installed cactistoric.
Bruno
cactistoric-0.8.4-0.01 is released and available at http://linkdown.org/download/cactistori ... .01.tar.gz.
Decompress the archive and read the INSTALL file.
I tested this version with cacti-0.8.4 installed from scratch on a Debian stable. Please backup your cacti directory before installing cactistoric, I don't wanna be responsible of any data loss.
The install is simpler than previous version since I don't have to modify the database to grant access to cactistoric.php (thanks RaX ).
Before reporting problems, be sure the files modified/added by cactistoric have the appropriate right and owner (ie. the same as cacti files).
If you have problems with "undefined variables" please post the error and the section "Error handling and logging" of your php.ini file.
For any problems, tell me if you allready used cacti and/or cactistoric, which version and tell me if cacti was working before you installed cactistoric.
Bruno
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi Bruno,
I've installed cactistoric 0.8.4-0.01 on top of cacti 0.8.4 (Gentoo 1.4, Apache 2.0.48 / PHP 4.3.3) and get this when zooming :
My PHP error handling is :
File permissions are correct, and I haven't customized the number of rows kept in a rra. I've previously used cactishoric and cacti 0.8.3a w/o problems, and cacti 0.8.4 was working OK before installing cactistoric.
Thanks in advance.
Regards,
Frédéric Mangeant
I've installed cactistoric 0.8.4-0.01 on top of cacti 0.8.4 (Gentoo 1.4, Apache 2.0.48 / PHP 4.3.3) and get this when zooming :
Code: Select all
Notice: Undefined variable: rra_id in /usr/local/src/cacti-0.8.4/cactistoric.php on line 106
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
Thanks in advance.
Regards,
Frédéric Mangeant
Well I'm having the same issue with Cactistoric-0.8.4
This is what I'm running:
SoL Linux 17 - krn 2.4.22
Apache 1.3.28
PHP 4.3.2
Line 106 reads:
Cheers,
DiegoV
This is what I'm running:
SoL Linux 17 - krn 2.4.22
Apache 1.3.28
PHP 4.3.2
Code: Select all
Notice: Undefined variable: rra_id in /server/apache/htdocs/cacti/cactistoric.php on line 106
Code: Select all
print " <div align='center'><img src='graph_image.php?local_graph_id=" . $_GET["local_graph_id"] . "&rra_id=" . $rra_id . $graph_param . "' border='0' alt='$graph_title'></div>\n";
DiegoV
Who is online
Users browsing this forum: No registered users and 0 guests