Hi Kelly,

The best way to do this is:

- Create a Map of each of your "Groups" of interfaces.
That will take care of the grouping, you can use the view_performance page to get the graphs in the same page (and if you want, aggregated).


- If you are completely sure you don't need the legends, it will be really hard, but you will need to create copies of the engine/graphs/*.inc.php files your interfaces use, and remove the legend code. After that you will need to create graph_types entries for your new graphs (the ones without legend).

Javier

Kelly Hamlin wrote:
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?



-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to