Re: [rrd-users] Optimize RRD update

This is a discussion on Re: [rrd-users] Optimize RRD update within the RRD Users forums, part of the Networking and Network Related category; Hi, On Fri, Feb 01, 2008 at 09:43:31AM +0100, Gwenael Lahay wrote: > More over, is it possible ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2008
Fabien Wernli
 
Posts: n/a
Default Re: [rrd-users] Optimize RRD update

Hi,

On Fri, Feb 01, 2008 at 09:43:31AM +0100, Gwenael Lahay wrote:
> More over, is it possible to replace (by default) NaN values with zero for
> the period you don't update a rrd.


No.
Well, you could use a very large heartbeat.

> (especially when there is no data and that i need top
> update all the files with zero).


why do you bother?

> If i could use zero instead of NaN, it will allow me to only update the rdd
> files with data. It will take less time.


I don't understand why you'd want to do this. I think you have a design
issue in your code or misunderstand something. It is preferrable to have
"Unknown" i.e. "nan" because it corresponds to reality: no data. How
would you tell a real, measured "0" value from an "Unknown" value if
all Nan were 0? (especially when your minimum value is 0):

> DS:${name}:${type}:300:0:U


Don't bother with this in your update script, handle the nans in your
display/graph/export script. You can set the Nans to 0 when graphing for
instance if you really want.

_______________________________________________
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 04:58 AM.


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