Re: [rrd-users] "not a simple integer" error with DERIVE ds

This is a discussion on Re: [rrd-users] "not a simple integer" error with DERIVE ds within the RRD Users forums, part of the Networking and Network Related category; On Thu, Jun 07, 2007 at 09:13:58PM +0530, Nirnimesh wrote: > I get "not a simple integer&...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2007
Alex van den Bogaerdt
 
Posts: n/a
Default Re: [rrd-users] "not a simple integer" error with DERIVE ds

On Thu, Jun 07, 2007 at 09:13:58PM +0530, Nirnimesh wrote:
> I get "not a simple integer" error with the DERIVE ds. I looked up the
> archives and as far as I can understand, the only solution I can find is to
> switch to integers. However, I do have valid reasons why I cannot, without
> incurring too much pain. I expected this to be handled in a neater way. Am I
> missing something?


It's all about resolution of the data. There's a limited amount
of significant digits available, and choices had to be made.

A workaround: You can multiply the input by a certain amount (e.g. 1,000
, or 1,000,000) and undo this using a CDEF. This is how I monitor some
values; it seems to work well. It also works out when you do the math
yourself, no problem:

Time 't' 123.500
Time 't+300' 124.100
-------------------- diff
300 seconds 0.600
0.6/300 = 0.002

Time 't' 123500
Time 't+300' 124100
-------------------- diff
300 seconds 600
600/300 = 2

Now divide by 1000 using a CDEF, and you get 0.002 again.

HTH
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0