external tunnel stats ??
Shadow Hawkins on Tuesday, 06 May 2003 10:20:09
hi everyone at sixxs,
i just noticed that the graphs on the tunnelinfo-pages cannot be accessed when not logged in. however, from my point of view, it would be neat to have them displayed on my ipv6-development site for showing off or maybe even providing some useful information to website visitors.
so why, for /home/tunnelinfo/traffic.php, don't you remove the login-check?
if you don't want things to change, but know some other way of getting neat graphs, don't hesitate telling me :)
greetings,
sebastian lechte
external tunnel stats ??
Jeroen Massar on Tuesday, 06 May 2003 21:58:55
It's somewhat a privacy issue, though latency stats and whois information is available too.
If enough people scream in this forum to have them public then we could setup a page to have those informations available ofcourse.
You could ofcourse plot your own graphs too ;)
external tunnel stats ??
Shadow Hawkins on Wednesday, 07 May 2003 00:54:13
yeah, i could and i already do. but your graphs are neater than my own :)
if you want, check http://mainframe.frontbone.de/mrtg/mainframe.frontbone.de_6.html
greets,
sebastian lechte
external tunnel stats ??
Jeroen Massar on Wednesday, 07 May 2003 12:04:11
RRDTool is the answer.
external tunnel stats ??
Shadow Hawkins on Friday, 09 May 2003 00:57:40
did it.
however: how do you make php output rrdtool-plotted data? do you parse the rrdtool-generated file or is there some way (module?) to plot through php?
greets,
sebastian lechte
external tunnel stats ??
Jeroen Massar on Friday, 09 May 2003 02:18:06
exec ? :)
And there are PHP rrdtool plugins afaik.
external tunnel stats ??
Shadow Hawkins on Friday, 09 May 2003 14:20:44
from your post i guess you don't use mod_php4-rrdtool.
i write the graphs by exec, ack. but how do you parse the graphs through your php-script, so that in html it looks like <img src="something.php?somegraph"> ??
ok, this is maybe just a question of php-programming and therefor off-topic, but i try :)
greets,
sebastian
external tunnel stats ??
Jeroen Massar on Friday, 09 May 2003 14:58:42
The forum is called general, graphs of IPv6 traffic/latency, kinda on topic ;)
In short: use a header() to set the correct dataformat.
Get the variable from $_GET, select the right rrd file, pass the right options based on that to exec() and tada.
Well in short at least :)
Posting is only allowed when you are logged in. |