[rrd-users] Strange behavior with rddtool update with crontab
alix-r
r.ty at rbty.de
Fri Oct 24 10:15:20 CEST 2008
Hello.
I'm facing a strange behavior with a Bash script executed by CRONTAB.
The script works fine if I run it from the command line directly. However,
if I try to run it time controlled by CRONTAB , I'm getting the following
error
message:
--1--
ERROR: temps.rrd: expected 3 data source readings (got 3) from N
39.6875
23.125
If I list the RRD-DB temps.rrd by
rrdtool fetch temps.rrd AVERAGE --start N-1000 --end N<
I can see that the organization (just 2 values per entry) is correct.
rob_raum rob_hzvor
1224742800: nan nan
1224742860: nan nan
1224742920: 3.9680094819e+01 2.3062500000e+01
1224742980: 3.9695577221e+01 2.3062500000e+01
1224743040: 3.9577488868e+01 2.3062500000e+01
1224743100: 3.9222938007e+01 2.3062500000e+01
1224743160: 3.9664530825e+01 2.3062500000e+01
1224743220: nan nan
1224743280: nan nan
Again, the script works correctly executed via the command line. The
valid values above are entered that way. By CRONTAB execution, I do
not get entries due to the error.
Any idea what's wrong ?
(I'm new with RRDTOOLS and LINUX, hopefully the question is not stupid)
Thanks
alix-r
--
View this message in context: http://www.nabble.com/Strange-behavior-with-rddtool-update-with-crontab-tp20145204p20145204.html
Sent from the RRDTool - User mailing list archive at Nabble.com.
More information about the rrd-users
mailing list