[rrd-users] Re: Division Bug with RRDTool
Rodrigo Santos
rodrigo.santos at quantiza.com
Mon Dec 5 14:10:14 MET 2005
OK, I forgot:
DEF_total_out_bytes=CEF:total_out_bytes=$(rrddir)/total.rrd:out_bytes:AVERAGE
DEF_total_in_bytes=DEF:total_in_bytes=$(rrddir)/total.rrd:in_bytes:AVERAGE
CDEF_total_bytes=CDEF:total_bytes=total_out_bytes,total_in_bytes,+
DEF_MCAST_out_bytes=DEF:MCAST_out_bytes=$(rrddir)/MCAST.rrd:out_bytes:AVERAGE
DEF_MCAST_in_bytes=DEF:MCAST_in_bytes=$(rrddir)/MCAST.rrd:in_bytes:AVERAGE
CDEF_MCAST_out_Mbps=CDEF:MCAST_out_Mbps=MCAST_out_bytes,.000008,*
CDEF_MCAST_in_Mbps=CDEF:MCAST_in_Mbps=MCAST_in_bytes,.000008,*
CDEF_MCAST_Mbps=CDEF:MCAST_Mbps=MCAST_out_Mbps,MCAST_in_Mbps,+
CDEF_TOTAL_Mbps=CDEF:TOTAL_Mbps=MCAST_Mbps,total_Mbps,+
CDEF_total_Mbps=CDEF:total_Mbps=total_bytes,.000008,*
Thanks,
Rodrigo Santos
Serge Maandag wrote:
>> $(DEF_total_out_bytes) \
>> $(DEF_total_in_bytes) \
>> $(CDEF_total_bytes) \
>> $(CDEF_total_Mbps) \
>> 'CDEF:TOTAL_Mbps_pct=TOTAL_Mbps' \
>> 'CDEF:total_Mbps_pct=total_Mbps' \
>> 'CDEF:div_Mbps_pct=subnet_Mbps,TOTAL_Mbps,/' \
>> 'CDEF:subnet_pct=subnet_Mbps,TOTAL_Mbps,/,100,*' \ <=====
>> LINE1:TOTAL_Mbps#000000:'TOTAL I/O' \
>> GPRINT:TOTAL_Mbps_pct:AVERAGE:'TOTAL Mbps %lf' \
>> GPRINT:total_Mbps_pct:AVERAGE:'total Mbps %lf' \
>
>
> I see all kinds of references to DEFs and CDEFs with "total"
> in the name. But I don't see the definition of them anywhere?
>
> Serge.
>
> -------------
> Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php
>
> -------------
> For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php
>
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list