[rrd-users] rrd dbi syntx

Steve Shipway s.shipway at auckland.ac.nz
Mon Mar 31 06:00:42 CEST 2014


>Command:
>rrdtool graph ./test.png --imgformat=PNG --start=-1day --end=+0hours
--width=1000 --height=600
>"DEF:min=sql//mysql/host=127.0.0.1/dbname=thermal/username=thermal/password
=thermal//temperature/date/cpu0:min:AVERAGE" "LINE1:min#FF0000:cpu0" 
>
>Error:
>ERROR: formatstring wrong - mysql

Check that you have the packages libdbi, libdbi-dbd-mysql and libdbi-drivers
installed.  It might be that you have libdbi but not the mysql driver, so
the format would be wrong.

Steve 

Steve Shipway
s.shipway at auckland.ac.nz


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5909 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140331/826eb0d6/attachment.bin 


More information about the rrd-users mailing list