[rrd-users] problem with 1.2.16

This is a discussion on [rrd-users] problem with 1.2.16 within the RRD Users forums, part of the Networking and Network Related category; hi, yesterday i updated to 1.2.16 (last version was 1.2.15) - following script doesn't work with ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-22-2007
Alexander Krogloth
 
Posts: n/a
Default [rrd-users] problem with 1.2.16

hi,

yesterday i updated to 1.2.16 (last version was 1.2.15) -
following script doesn't work with the new version:

--------------------------------
#!/bin/sh

.. /data/rrd/etc/graph.conf

#FILE="$RRDDIR/temp.rrd"


echo "Content-Type: image/png";
echo "";

# time
starttime $1

# graph
$RRDTOOL graph - \
-t "Temp" -v "°C" \
--start="$TIME" \
--end="now" \
--height="$HEIGHT" \
--width="$WIDTH" \
-c "$BACK" \
-c "$SHADEA" \
-c "$SHADEB" \
-c "$FONT" \
-c "$CANVAS" \
-c "$GRID" \
-c "$MGRID" \
-c "$FRAME" \
-c "$ARROW" \
"DEF:sda=$RRDDIR/hddtemp-8-0.rrd:value:AVERAGE" \
"DEF:sdb=$RRDDIR/hddtemp-8-16.rrd:value:AVERAGE" \
"LINE1:sda#800000:sda" \
"GPRINT:sda:LAST:Last\: %2.0lf °C" \
"GPRINT:sda:MAX: Max\: %2.0lf °C" \
"GPRINT:sda:MIN: Min\: %2.0lf °C" \
"GPRINT:sda:AVERAGE: Avg\: %2.0lf °C\n" \
"LINE1:sdb#00FF00:sdb" \
"GPRINT:sdb:LAST:Last\: %2.0lf °C" \
"GPRINT:sdb:MAX: Max\: %2.0lf °C" \
"GPRINT:sdb:MIN: Min\: %2.0lf °C" \
"GPRINT:sdb:AVERAGE: Avg\: %2.0lf °C"
---------------------------------------

the error is:

---------------------------------------
Content-Type: image/png

ERROR: Unknown control code at the end of ' Avg: 24 °C\n'
--------------------------------------

any ideas why my script doesn't work with 1.2.16 - it worked with 1.2.15
i have a couple of scripts that doesn't work with the new version

thanks for any suggestions

greets
--aleex

--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx
x Alexander Krogloth / alex@muh.cc / http://www.krogloth.de x
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx

-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pgp-signature
-- Desc: Digital signature
-- Size: 190 bytes
-- URL : http://lists.ee.ethz.ch/p/18-signature.asc


--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0