> rrdtool info templog.rrd
...
> ds[internal].type = "GAUGE"
> ds[internal].min = -1.0000000000e+01
> ds[internal].max = 5.0000000000e+01
...
> ds[external].type = "GAUGE"
> ds[external].min = -2.0000000000e+01
> ds[external].max = 5.0000000000e+01

OK, so your RRD file is correctly configured to allow from -20 to +50 as valid 
values for the internal/external DS.

> And when i try to fetch info, i have this:
> sudo bash ./rrdtoolFetch.sh
>                        internal            external
> 1448221500: nan nan
> 1448221800: nan nan
> 1448222100: nan nan
> 1448222400: nan nan
> 1448222700: nan nan
> 1448223000: nan nan
> 1448223300: nan nan
> 1448223600: nan nan
> 1448223900: nan nan
> 1448224200: 2.1682617188e+01 9.7062734375e+00
> 1448224500: 2.1899166667e+01 9.8750000000e+00
> 1448224800: 2.2098750000e+01 9.0352300000e+00
> 1448225100: nan nan

So, your database holds values with internal between 21 and 23, and external 
between 9 and 10.  All positive.  The unknown values are before and after this.

>From this, I would say your next step should be verifying your data collection 
>and storage step.

When you collect this data and push it into the RRD, do you log any errors?  
Can you write a line of text to a log file like "Just retrieved value 19 and 
9", and "Wrote values to RRD"?  When you call "rrdtool update", are you logging 
any error output?

I have not seen the script you are using for collection and storage, so it may 
well be erroring and you don’t notice it.

Steve


Steve Shipway
T: +64 9 3737 599 ext 86487
E: s.ship...@auckland.ac.nz

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to