Hi
Thanks, it works.
i also changed the dsdef line to -40 instead of zero. sprintf(dsdef, "DS:%s:%s:600:-40:U", dsname, dstype); and recreated the rrd file.
Regards
- hansi
On 2/20/07, Henrik Stoerner <henrik at hswn.dk> wrote:
On Mon, Feb 19, 2007 at 07:00:44PM -0500, Kern, Thomas wrote:
Just for safety, we should add a plus "+" and a comma "," to the string, in case some source of data provides +9,876.54 as a value.
Agree with the '+', and that is already in my source - but the comma won't work. The value data is passed directly to rrdtool, and it doesn't allow for commas.
It also depends a lot on where you are. Where I come from, that number would be written as "9.876,54" - ie the dot and comma switches place.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Hansi Tesarz Tjäderstigen 7 142 63 Trångsund Tel: +46 708611103 Mail: hansi at htk.se Web: www.htk.se ICQ: 202-468-855 Light Can Twist as Well as Spin