<div dir="ltr">Judging by the man page, negative values are OK.  The first entry in the EXAMPLE section of "man rrdcreate" reads:<br><br>          rrdtool create temperature.rrd --step 300 \<br>             DS:temp:GAUGE:600:-273:5000 \<br>
             RRA:AVERAGE:0.5:1:1200 \<br>             RRA:MIN:0.5:12:2400 \<br>             RRA:MAX:0.5:12:2400 \<br>             RRA:AVERAGE:0.5:12:2400<br><br>         This sets up an RRD called temperature.rrd which accepts one tempera-<br>
         ture value every 300 seconds. If no new data is supplied for more than<br>         600 seconds, the temperature becomes *UNKNOWN*.  The minimum acceptable<br>         value is -273 and the maximum is 5'000.<br>
<br>Ralph Mitchell<br><br><br><div class="gmail_quote">On Mon, Jul 28, 2008 at 9:24 AM, Ward, Martin <span dir="ltr"><<a href="mailto:Martin.Ward@colt.net">Martin.Ward@colt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Funnily enough I am looking at the Hobbit code that deals with RRD data<br>
at the moment. If you are using the NCV capabilities then it looks like<br>
you can't have negative numbers. The generic NCV (Number, Colon, Value)<br>
code looks for numbers only, no signs (somewhere near line 70 in<br>
hobbitd/rrd/do_ncv.c):<br>
<br>
                        val = l + strspn(l, " \t");<br>
                        l = val + strspn(val, "0123456789.");<br>
<br>
I have no idea if RRD is able to accept/store negative values, but if it<br>
is, it should be a simple case of adding the + and - characters to the<br>
last line listed above to make what you want possible.<br>
<br>
|\/|artin<br>
<div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: David Stuffle [mailto:<a href="mailto:david@stufflemail.com">david@stufflemail.com</a>]<br>
Sent: 28 July 2008 14:28<br>
To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>
Subject: [hobbit] No graph for negative clock offset<br>
<br>
<br>
Hi all,<br>
None of my clock offset graphs graph anything when the clock offset from<br>
<br>
a host is a negative number.  Only positive number work.  Anyone having<br>
the same thing happen or know how to fix?<br>
<br>
I'm running a snapshot 4.3.0-0.20080103<br>
<br>
Thanks<br>
David<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
<br>
<br>
</div></div>*************************************************************************************<br>
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.<br>
<br>
The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing <a href="mailto:security@colt.net">security@colt.net</a> and delete the message and any attachments without retaining any copies.<br>

<br>
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.<br>
<br>
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.<br>

<br>
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to <a href="http://www.colt.net" target="_blank">www.colt.net</a> or contact us on +44(0)20 7390 3900.<br>

<div><div></div><div class="Wj3C7c"><br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>