> -------- Original Message --------
> Subject: [mrtg] Re: unknaszero
> Date: Mon, 24 Mar 2003 10:49:56 +0200
> From: "M.E. " <[EMAIL PROTECTED]>
> To: George Chelidze <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> References: <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
>
> I use MRTG with RRDTool
> I want to make the rrdtool to store ZERO instead of the famous NaN

My test on using unknaszero show a value of 0.0000000000e+000 being stored
in the *.rrd

> Also, I want to graph the sum of multiple interfaces using the summing
> capability of MRTG, but when one of the interfaces is down ( or doesn't
> return data ) the porcess stops.

The way that we graph the sum of multiple interfaces is by using the
'graph' function of RRDTool.
Here as an example of what we do (ex. using 3 interfaces):

c:\mrtg\rrdtool\bin\rrdtool graph aggregate.png --imgformat PNG --width
650 --height 150
DEF:onex=64.39.30.21_23.rrd:ds0:AVERAGE
DEF:oney=64.39.30.21_23.rrd:ds1:AVERAGE
DEF:twox=64.39.30.21_24.rrd:ds0:AVERAGE
DEF:twoy=64.39.30.21_24.rrd:ds1:AVERAGE
DEF:threex=64.39.30.21_25.rrd:ds0:AVERAGE
DEF:threey=64.39.30.21_25.rrd:ds1:AVERAGE
CDEF:myxx=onex,twox,threex,+,+,8,*
CDEF:myyy=oney,twoy,threey,+,+,8,*
CDEF:myzz=myxx,myyy,+
AREA:myxx#00ff00:"Incoming Traffic (AVERAGE)"
LINE1:myyy#0000ff:"Outgoing Traffic (AVERAGE)"
LINE2:myzz#ff0000:"Total traffic  (in+out)"

You might want to look at RRDTool's documentation on 'graph' and 'create'
for an explanation.  We use them in a web page where the user can select
the interface(s) that they want to see an aggregate graph of.

Hope that helps,
Jeremy

> Does using unknaszero is the way to solve this problem, and gives me a
way to
> make the sums ??
>
> Again, my question is specific to using MRTG with RRDTool.
>
> Regards
> Mohamed Eldesoky
>
> --



--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to