[rrd-users] Funny problem with RRD....

Masopust Christian christian.masopust at siemens.com
Tue May 4 16:16:31 MEST 2004


Hi all,

I've created a rrd-file with the following command:

rrdtool create pc.rrd -s 900 \
        DS:C-used:GAUGE:1500:0:U \
        DS:C-free:GAUGE:1500:0:U \
        DS:D-used:GAUGE:1500:0:U \
        DS:D-free:GAUGE:1500:0:U \
        DS:E-used:GAUGE:1500:0:U \
        DS:E-free:GAUGE:1500:0:U \
        DS:F-used:GAUGE:1500:0:U \
        DS:F-free:GAUGE:1500:0:U \
        RRA:AVERAGE:0.5:1:200 \ 
        RRA:AVERAGE:0.5:4:350 \
        RRA:AVERAGE:0.5:8:775 \
        RRA:AVERAGE:0.5:96:797

after some time of getting this rrd filled i can fetch data from it:

rrdtool fetch -s -10m pc.rrd AVERAGE
                         C-used               C-free               D-used
D-free               E-used               E-free               F-used
F-free

1083679200: 1.0952166605e+09 1.0415295693e+09 8.3644488090e+09
2.5018184499e+09 8.5899345920e+07 2.0615843021e+09 1.7072495002e+09
5.2398601011e+09
.............

BUT....   i cannot create graphs from this file.........

/usr/local/rrdtool/bin/rrdtool graph rudi.png \
--title "Test" --start -604800 --imgformat PNG \
DEF:var0=pc.rrd:C-used:AVERAGE \
DEF:var1=pc.rrd:D-used:AVERAGE \
DEF:var2=pc.rrd:E-Used:AVERAGE \
DEF:var3=pc.rrd:F-Used:AVERAGE \
LINE2:var0#ff0000:'C-used' \
GPRINT:var0:LAST:'Current\\: %5.2lf %S' \
GPRINT:var0:AVERAGE:'Average\\: %5.2lf %S' \
GPRINT:var0:MAX:'Maximum\\: %5.2lf %S\\n' \
LINE2:var1#00ff00:'D-used' \
GPRINT:var1:LAST:'Current\\: %5.2lf %S' \
GPRINT:var1:AVERAGE:'Average\\: %5.2lf %S' \
GPRINT:var1:MAX:'Maximum\\: %5.2lf %S\\n' \
LINE2:var2#0000ff:'E-Used' \
GPRINT:var2:LAST:'Current\\: %5.2lf %S' \
GPRINT:var2:AVERAGE:'Average\\: %5.2lf %S' \
GPRINT:var2:MAX:'Maximum\\: %5.2lf %S\\n' \
LINE2:var3#ffff00:'F-Used' \
GPRINT:var3:LAST:'Current\\: %5.2lf %S' \
GPRINT:var3:AVERAGE:'Average\\: %5.2lf %S' \
GPRINT:var3:MAX:'Maximum\\: %5.2lf %S\\n'

always gives:

ERROR: No DS called 'E-Used' in 'pc.rrd'

does anybody know why this happens???

thanks a lot,
chris

p.s.: same call to a rrd with only "C-used" and "D-used" works....

___________________________________________________________

		Christian Masopust


		SIEMENS AG  PSE SMC CI E CM  
		Tel:   +43 (0) 5 1707 26866
		Fax:  +43 (0) 5 1707 54320
		E-mail: christian.masopust at siemens.com
		Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm.
243
		___________________________________________________________



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



More information about the rrd-users mailing list