diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php index b4c768365b..6a4dc60e87 100755 --- a/usr/local/www/graph.php +++ b/usr/local/www/graph.php @@ -39,8 +39,8 @@ $ifname=@$_GET["ifname"]?$_GET["ifname"]:"Interface $ifnum"; //Interface name t /********* Other conf *******/ $scale_type="up"; //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas $nb_plot=120; //NB plot in graph -$time_interval=1; //Refresh time Interval -$fetch_link = "ifstats.cgi?$ifnum"; +$time_interval=2.5; //Refresh time Interval +$fetch_link = "ifstats.php?if=$ifnum"; //SVG attributes $attribs['axis']='fill="black" stroke="black"'; diff --git a/usr/local/www/ifstats.php b/usr/local/www/ifstats.php new file mode 100644 index 0000000000..0ba6e2775a --- /dev/null +++ b/usr/local/www/ifstats.php @@ -0,0 +1,79 @@ + \ No newline at end of file