RE: [cricket-users] Graphing result of two OIDs

From: Selena M Brewington (smbrewin@ichips.intel.com)
Date: Wed Oct 06 1999 - 08:43:11 PDT


From: Selena M Brewington <smbrewin@ichips.intel.com>

I'm interested in this feature as well. Another feature that would be nice
is more control over the RPN calculator - for example, I wanted to
aggregate two targets and than graph that number, along with another single
target, yielding two lines on the same graph from three targets. I ended up
using rrdcgi to do it, but i'd prefer to do it all within cricket.

Also, Kennedy - you could use rrdcgi to do what you want. It means writing
up some scripts w/ all of the variables the rrdtool grapher asks for. There
are some illustrative examples at:

        http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/rrdcgi.html
        
-selena

Kennedy Clark writes:
> From: Kennedy Clark <kclark@ccci.com>
>
> Ivan:
>
> Thanks for the note! However, I still think I'm missing something.
> If I use mtargets to aggregate four interfaces as you show below,
> aren't I just adding up the information that already being
> collected for those interfaces? In other words, assume that the
> four interfaces are collecting and graphing ifInUcastPkts and
> ifInNUcastPkts. One line of each graph with show ifInUcastPkts
> while the other line will plot ifInNUcastPkts. If I then use
> mtargets to aggregate these, won't I just get a new graph that
> still shows one line for ifInUcastPkts and another line for
> ifInNUcastPkts? How do I make a graph that plots a single line
> that the sum of these two OIDs?
>
> In short, it seems that mtargets will aggregate multiple interfaces
> into a single graph... I'm just not sure I see how it can aggregate
> multiple OIDs into a single line on a graph...
>
> Thanks!
> Kennedy
>
> At 08:39 PM 10/4/99 -0600, you wrote:
> >no, sounds like you want "mtargets"
> >
> >targets - put multiple graphs on one page
> >mtargets- perform operations on data and graph results
> >
> >ex..
> >target T1_All
> > mtargets = "serial0_0;serial0_1;serial0_2;serial0_3"
> > mtargets-ops = "sum()"
> > short-desc = "Combined T1's - 6.176Mb/s"
>
> >
> >
> >-----Original Message-----
> >From: Kennedy Clark
> >To: cricket-users@onelist.com
> >Sent: 10/4/99 4:53 PM
> >Subject: [cricket-users] Graphing result of two OIDs
> >
> >From: Kennedy Clark <kclark@ccci.com>
> >
> >There might be a really simple answer to my question, but I'm not
> >finding anything in the docs that seem to address this...
> >
> >I'm trying to graph the results of two OIDs. For example, let's
> >say you want to add ifInUcastPkts and ifInNUcastPkts to get total
> >packets. Note, that I'm not trying to view the aggregate of two
> >targets (interfaces), which seems to be the purpose of mtargets and
> >mtargets-ops. In other words, I don't want to aggregate "targets,"
> >I want to essentially aggregate "datasources."
> >
> >Thanks!
> >Kennedy
> >
>
>
--------------------------- ONElist Sponsor ----------------------------

?? BETA TEST our free, real-time technical support service with live experts !!
                          go to EXPERTCITY.COM
       <a href=" http://clickme.onelist.com/ad/expertcity6 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:03 PST