> my values in my RRD looks correct and drawing the graph seems perfect: > 1132578600: 5.5507237333e+03 9.1437223333e+02 > but When I run this same script via cron, (did a test that the path is > correct) my values seems to be in bytes when drawing the graph: > 1132578000: 6.7956503333e+02 0.0000000000e+00
Troubles with cron relate to missing paths in 99% of all cases. Be sure to have each file and each binary addressed with a full path name. Both in your script and in your crontab. To debug, you should know what the script outputs when run from cron. To do so, add a: echo $TIMESTAMP:$TRAFFIC >> /tmp/logfile.txt to your script. Or just echo $TIMESTAMP:$TRAFFIC so it outputs to stdout. In addition add a MAILTO='[EMAIL PROTECTED]' above the updaten.sh line in cron to have the output of your script sent to you. Serge. ------------- Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php ------------- For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
