I'm not the best RRD writer, but I'm guessing you could do something along
the lines of subtracting your known bandwidth from the total bandwidth to
get the bandwidth of the unknown customer.

Something along the lines of:
#define upstream and known customer datapoints
DEF:UPSTREAM_In-raw=/PATHTOZENOSSRRD/ROUTER/os/interfaces/INTERFACE/ifHCInOctets_ifHCInOctets.rrd:ds0:AVERAGE
DEF:UPSTREAM_OUT-raw=/PATHTOZENOSSRRD/ROUTER/os/interfaces/INTERFACE/ifHCInOctets_ifHCOutOctets.rrd:ds0:AVERAGE
DEF:Customer1_In-raw=/PATHTOZENOSSRRD/CUSTOMER1_ROUTER/os/interfaces/INTERFACE/ifHCInOctets_ifHCInOctets.rrd:ds0:AVERAGE
DEF:Customer1_OUT-raw=/PATHTOZENOSSRRD/CUSTOMER1_ROUTER/os/interfaces/INTERFACE/ifHCInOctets_ifHCOutOctets.rrd:ds0:AVERAGE
 CDEF:UPSTREAM_In-rpn=UPSTREAM_In-raw,8,*
CDEF:UPSTREAM_Out-rpn=UPSTREAM_Out-raw,8,*
CDEF:Customer1_In-rpn=Customer1_In-raw,8,*
CDEF:Customer1_Out-rpn=Customer1_Out-raw,8,*
 CDEF:Customer2_In-raw=UPSTREAM_In-raw,Customer1_In-raw,-
CDEF:Customer2_Out-raw=UPSTREAM_Out-raw,Customer1_In-raw,-
CDEF:Customer2_In-rpn=Customer2_In-raw,8,*
CDEF:Customer2_Out-rpn=Customer2_Out-raw,8,*

Then plotting your rrd similar to the graphs posted above.   I would caution
you to NOT use this for billing information as these are calculated values
and not actual traffic flowing across the customer's device.






On Wed, Dec 10, 2008 at 1:13 PM, konsa79 <[EMAIL PROTECTED]>wrote:


> .. interestring...
>
> and if i've to make the difference?
>
> i've a router that give me the amount of bandwith and than the traffic is
> used from 2 customer, one of them have'nt a snmp capable device so i know
> the total bandwith and the bandwith of one customer..
>
> how can i make a graph
>
> 2° customer =total bandwith - 1° customer
>
> regards
>
> Andrea Consadori
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=28956#28956
>
> -------------------- m2f --------------------
>
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to