Dear Javier,

Thanks a lot for your reply! 

I'me trying to read the source code to understand how
the AVERAGE value is calculated (shown in the bottom
of the interface traffic performance graph). Could you
plase tell us how or where can we find the definition
of the "inputbits" or "input" in traffic.inc.php. How
the "inputbits" and "outputbits" average is
calculated/defined, what is its infomation source:

"AREA:inputbits#00CC00:'Inbound '",
 "GPRINT:inputbits:MAX:'Max\:%8.2lf %sbps'",
 "GPRINT:inputbits:AVERAGE:'Average\:%8.2lf %sbps'",
 "GPRINT:inputbits:LAST:'Last\:%8.2lf %sbps\\n'",

$opts_DEF[]="CDEF:inputbits=input,UN,input,input,IF,8,*";
   
$opts_DEF[]="CDEF:outputbits=output,UN,output,output,IF,8,*";

What is the value of "input" and "output"? And where
can I find the definition of rrdtool_get_def?
        $opts_DEF =
rrdtool_get_def($data,array("input","output"));

To may knowledge, jffnms store every collected value
in the RRD file as shown in the following command
output capture. What function jffnms has used to
consolidate/calculate a single AVERAGE value (over a
arbitary period, e.g. a week, a month or an year)? If
you're too busy to give detail info, could you please
tell us where can we find the answer? Thansk!

debian-test1:/opt/jffnms/rrd# rrdtool info
interface-375-0.rrd
filename = "interface-375-0.rrd"
rrd_version = "0001"
step = 300
last_update = 1145615421
ds[data].type = "COUNTER"
ds[data].minimal_heartbeat = 600
ds[data].min = 0.0000000000e+00
ds[data].max = 1.8750001000e+07
ds[data].last_ds = "51923474"
ds[data].value = 1.5335526316e+01
ds[data].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 103680
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0

Henry

===================================================
Date: Sat, 08 Apr 2006 11:55:10 -0300
From: Javier Szyszlican <[EMAIL PROTECTED]>
Organization: JFFNMS
CC:  jffnms-users@lists.sourceforge.net
Subject: Re: [jffnms-users] how JFFNMS calculates the
performance 
average

We use the average function in RRDTool to do that, so
is no really 
ours.

But if your graph have some down time (it will count
as 0 for the 
average).

Javier

Ying Hon Liu wrote:
> Dear JFFNMS author or experienced users,
> 
> We would like to know how JFFNMS calculates the
> average interface performance data value. To our
> understanding, is it:
>   (total (sum of) performance data over a specific
> period) / (no. of sampling). 
> Where can we find the formula from the JFFNMS
> configuration file? Could you plase help explain how
> the average is calulated over different time
duration?
> 
> We're testing the functionality and data accuracy of
> JFFNMS. We've provisioned a Cisco c2924 switch port
> object (or "Interface", in JFFNMS's terminology) at
> about 6:00pm yesterday. For the traffic graph, we're
> checking the data collected and calculated by JFFNMS
> up to 11:30am today (07-Apr-06). The average values
> are shown as below:
> 
> Graph 1 (all the data are colleted within a time
> period) :
> from : today 10:30
> to : today 11:30
> Inbound average : 1.32 kbps
> Outbound average : 79.82 kbps
> 
> Graph 2 (with some undefined period/the time during
> which the monitored object hasn't been provisoned
> yet(10:30-18:00)) :
> from : 2006-04-06 10:30
> to : today 10:30
> Inbound average : 2.89 kbps
> Outbound average : 7.04 kbps
> 
> 
> Graph 3 (with most of the time during which the
> monitored object hasn't been provisoned
yet(2006-03-31
> to yesterday 2006-04-06 18:00)
> from : 2006-03-31 10:30 (last week)
> to : today 10:30
> Inbound average : 2.92 kbps (which is close to Graph
> 2)
> Outbound average : 7.55 kbps 
> 
> Graph 4 (with most of the time during which the
> monitored object hasn't been provisoned
yet(2006-03-31
> to yesterday 2006-04-06 18:00)
> from : 2006-03-31 10:30 (last week)
> to : today 10:30
> Inbound average : 2.92 kbps (which is close to Graph
> 2)
> Outbound average : 7.55 kbps 
> 
> Graph 5 (with almost all of the time during which
the
> monitored object hasn't been provisioned yet
> (2005-04-07 to yesterday 2006-04-06 18:00)
> from : 200-04-07 10:30 (last year)
> to : today 10:30
> Inbound average : 7.97 kbps (??? why is it larger
???)
> Outbound average : 16.29 kbps (??? why is it larger
> ???)
> 
> Thanks in advance!
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to