Re: Graphing Temperature
"Marc Powell" <[email protected]> Mon, 9 Jul 2007 13:42:22 -0500
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: [email protected] [mailto:cricket-users- > [email protected]] On Behalf Of Balden, Joseph > Sent: Monday, July 09, 2007 12:51 PM > To: [email protected] > Subject: [cricket-users] Graphing Temperature > > I am trying to graph temperature, but negative numbers are just going > to zero. Is there a way to have cricket accept negative numbers? Cricket/rrdtool will happily graph negative numbers. You didn't happen to specify your rrd-min as 0 did you? You can use 'rrdtool info /path/to/file.rrd' to see if that's the case. In the snippet below, ds0 has a minimum value of 0 and an unlimited max value-- ds[ds0].type = "GAUGE" ds[ds0].minimal_heartbeat = 1800 ds[ds0].min = 0.0000000000e+00 ds[ds0].max = NaN ds[ds0].last_ds = "UNKN" ds[ds0].value = 6.4000000000e+01 ds[ds0].unknown_sec = 0 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/