|
Ive copied your performance_view.php file to graph.php and
removed the top stuff for showing the drop downs, and changing time frames. What im looking to do is the following We currently use mrtg to monitor interfaces for groups of
interfaces for having up on our monitor wall at all times. I want to remove
mrtg and use the parts of jff which does this also. Ive figured out how to do it, except I want to remove the
bottom part of the graph (inbound, outbound, and averages), I just need the
graph. [code] if ($only_aggr!=1) switch ($view_type) { case "html": if (($graphic["graph1"])
&& ($ret1!==false))
adm_table_cell(adm_image($images_rel_path."/".$graphic["graph1"]["image"],"","",0,0,$scale_legend),"center"$ // echo "<BR>"; if (($graphic["graph2"])
&& ($ret2!==false))
adm_table_cell(adm_image($images_rel_path."/".$graphic["graph2"]["image"],"","",0,0,$scale_legend),"center"$ // echo "<BR>"; break; case "graph": if (($graphic["graph1"])
&& ($ret1!==false) &&
($want_graph==$graphic["graph1"]["type"])) echo join
("",file($images_real_path."/".$graphic["graph1"]["image"])); break; } [/code] I think this is where it generates the graph, but cant
figure it out exactly. Also how would I scale the actual size, or is this kept
in another function someone that I would have to copy also? |
- [jffnms-users] Graph Generation Help Kelly Hamlin
- Re: [jffnms-users] Graph Generation Help Javier Szyszlican
