[rrd-users] Re: updates return 'nan'

Serge Maandag serge.maandag at staff.zeelandnet.nl
Tue Nov 12 15:06:18 MET 2002


Just a wild guess: should it be a gauge in stead of a counter?
You do know the difference between those two?

Serge.

-----Original Message-----
From: Mat Harris [mailto:mat.harris at genestate.com] 
Sent: Monday, November 11, 2002 2:46 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] updates return 'nan'


Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

i have just started experimenting with rrd using tghe cacti frontend.

I have create an rra like so:

/usr/bin/rrdtool create \
/home/matthewh/www/dev/html/cacti-0.6.8a/rra/email_esmtp_in.rrd \
--step 300 \
DS:email_esmtp_in:COUNTER:600:0:50000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

and attempt to update it like so with my own perl script (below should
all
be on one line):

/usr/bin/rrdtool update /home/matthewh/www/dev/html/cacti-0.6.8a\
/rra/email_esmtp_out.rrd --template email_esmtp_out N:`perl\
/home/matthewh/www/dev/html/cacti-0.6.8a/scripts/mail.pl esmtp out`

this perl script just outputs my sendmail mail stats (script attached).

why, when i update and then fetch do my results come out with either
'nan'
or '00000000e+00' etc?

and my graphs are empty.=20

sorry if i havn't explained this very well, please say if you need
anything
cleared up.

thanks

--=20
Mat Harris			OpenGPG Public Key ID: C37D57D9
mat.harris at genestate.com	matthewh.genestate.com=09


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/x-perl
-- Size: 440 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/mail.pl



-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list