[rrd-users] Re: Help needed on rrdtool create and rrdtool update

2001-07-06 Thread Chris Snell


I took a quick glance at your rrdupdate and it looks like you are 
occasionally updating at an interval different from your --step.

the RRDs after update.  Could anyone help?  I can't seem to find where the
problem is.  Did I make some mistakes in rrdtool create, rrdtool
update, or rrdtool fetch?


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Help needed on rrdtool create and rrdtool update

2001-07-06 Thread Serge Maandag

Hmm, what I do see is that you have a heartbeat of 3600 secs. Your
updates (at least the first two ones, didn't check the other ones) on
the other hand are made with a 7200 sec interval. This is well over the
heartbeat threshold, so rrdtool will take the value for a NaN.

Read up on the heartbeat and the step @
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdcreate.html

Serge.


/usr/local/rrdtool-1.0.28/bin/rrdtool create
--
--step 3600 \
DS:Flipper_Drops:GAUGE:3600:0:U \
RRA:AVERAGE:0.5:1:3600
--

/usr/local/rrdtool-1.0.28/bin/rrdtool update
--
994176000:3 994183200:1 994190400:1 994194000:4 994197600:4 994201200:5
994204800:4 994212000:8 \
--

/usr/local/rrdtool-1.0.28/bin/rrdtool fetch
--
missing- 994176000: NaN
 994179600: NaN
missing-  994183200: NaN
--

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Help needed on rrdtool create and rrdtool update

2001-07-06 Thread Chang-Ping Hsiao

Exactly!

The data come in at an unknown timing.  That is why I had them updated at
random time and different interval.  I read about the comparison between
heartbeat and step, and didn't seem to find a way around it.  In the
document  written by Don Baarda, it says, 

.If the interval between samples is longer than heartbeat, the entire
interval is considered unknown...

Meanwhile, I am not clear about whether this includes the end points of the
interval if they are primary data points in an RRD.

Serge was right on the data I tried to updated, 7200 is greater than 3600,
but I would think RRDTool can be smart enough to determine 99417900 is
unknown while 994176000 is 3 and 994183200 is 1, instead of thinking
everything in the interval including the end points are unknown.

Due to the nature of the data, if RRDTool cannot help, maybe I will need to
artificially put a 0 for every missing heartbeat.  This isn't hard but is
definitely making my job more trivial.

Thanks, folks!

Chang-Ping

 994176000:3 994183200:1 994190400:1 994194000:4 994197600:4 994201200:5 \
 994204800:4 994212000:8 994215600:1 994219200:1 994255200:1 994258800:2 \
 994262400:4 994266000:2 994269600:3 994273200:2 \

 missing- 994176000: NaN
  994179600: NaN
 missing-  994183200: NaN
  994186800: NaN
 missing- 994190400: NaN
  994194000: 4.00e+00
  994197600: 4.00e+00
  994201200: 5.00e+00
  994204800: 4.00e+00
  994208400: NaN
 missing-  994212000: NaN
  994215600: 1.00e+00
  994219200: 1.00e+00
  994222800: NaN
  994226400: NaN
  99423: NaN
  994233600: NaN
  994237200: NaN
  994240800: NaN
  994244400: NaN
  994248000: NaN
  994251600: NaN
 missing-  994255200: NaN
  994258800: 2.00e+00

 Hmm, what I do see is that you have a heartbeat of 3600 secs. Your
 updates (at least the first two ones, didn't check the other ones) on
 the other hand are made with a 7200 sec interval. This is 
 well over the
 heartbeat threshold, so rrdtool will take the value for a NaN.

 -Original Message-
 From: Chris Snell [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 05, 2001 6:48 PM
 To: Chang-Ping Hsiao; Rrd-User (E-mail)
 Subject: Re: [rrd-users] Help needed on rrdtool create and rrdtool
 update
 
 
 
 I took a quick glance at your rrdupdate and it looks like you are 
 occasionally updating at an interval different from your --step.
 
 the RRDs after update.  Could anyone help?  I can't seem to 
 find where the
 problem is.  Did I make some mistakes in rrdtool create, rrdtool
 update, or rrdtool fetch?
 

__ 
NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi