[rrd-users] no NaN values in perl? --PS

Karl Fischer rrd-users at ficos.de
Fri May 30 21:08:27 CEST 2008


Karl Fischer wrote:
> Hello all,
> 
> I'm new to this list and fairly new to using rrdtool.
> 
> I found it quite useful to be able to store undefined 'NaN'
> values beneath numeric values in the rrd ...
> (eg. to differentiate between system offline and 0-value)
> 
> Works great when using rrdtool as a standalone, however, when
> using RRDs::fetch in perl, all NaN values get converted into
> '0' when fetching values from the RRDB.
> 
> Why? Am I doing anything wrong?
> 
> I've tried to search the archives for hints and found many
> people complaining about NaN - however, I do want to get them.
> 
> My apologies if this has been asked before - please point me
> to some documentation about this - if there's any.
> 
> Many thanks for your help.
> 
> Rgds
> 
> - Karl

I found it working when using RRDp, however, I'd prefer the RRDs.
BTW: is any of those (RRDp,RRDs) the 'official' preferred method?

Any hints welcome ...

Thanks

- Karl




More information about the rrd-users mailing list