NaN Problem

104 views
Skip to first unread message

Volkan Yazıcı

unread,
Sep 26, 2012, 11:50:00 AM9/26/12
to rrd4j-...@googlegroups.com
Can anybody help me to fix the simple RRD4J program at https://gist.github.com/3788815
What am I missing?

David Tauzell

unread,
Jul 19, 2013, 12:04:01 PM7/19/13
to rrd4j-...@googlegroups.com
I think the problem is that you are passing the time in milliseconds to setTime() but it requires time in seconds in epoch.  

-Dave

Aditya Vaja

unread,
Jun 27, 2014, 4:13:09 PM6/27/14
to rrd4j-...@googlegroups.com
Hey Volkan,

Did that time in seconds solve it? I'm using your example https://gist.github.com/vy/3788815 and getting the same NaN. Tried setting time in seconds since epoch, and couple of other things changing the step, hearbeat, etc. the round robin still contains only NaN and last update time is the time of creation.

Any leads?

Volkan YAZICI

unread,
Jun 29, 2014, 3:26:39 AM6/29/14
to rrd4j-...@googlegroups.com
Hey Aditya,

Nope, it did not work for me either and I gave up using it a long time ago.

Best.


--
You received this message because you are subscribed to a topic in the Google Groups "rrd4j-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rrd4j-discuss/kXSJJibegSs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rrd4j-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

AdityaVaja

unread,
Jun 30, 2014, 4:55:42 PM6/30/14
to rrd4j-...@googlegroups.com
I started off with using the demo as is in tutorials : https://code.google.com/p/rrd4j/wiki/Tutorial
And then started modifying one value at a time. I guess the key is setting the STEP for RrdDef and HEARTBEAT for DataSource correctly. I would suggest to copy paste for the first time, then try changing and checking the output :)

Thanks!


--
You received this message because you are subscribed to the Google Groups "rrd4j-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rrd4j-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Aditya Vaja
Graduate Student | Computer Science | NCSU
 
Reply all
Reply to author
Forward
0 new messages