Learning rrdtool
I am working through the tutorial that comes with rrdtool(1.2.15-0.2)
and the first examples fail. As I am only beginning to use the tool it
is difficult for me to diagnose the problem:
zsh % rrdtool create test.rrd \
> --start 920804400 \
> DS:speed:COUNTER:600:U:U \
> RRA:AVERAGE:0.5:1:24 \
> RRA:AVERAGE:0.5:6:10
zsh % rrdtool update test.rrd 920804700:12345 920805000:12357 920805300:12363
zsh % rrdtool update test.rrd 920805600:12363 920805900:12363 920806200:12373
zsh % rrdtool update test.rrd 920806500:12383 920806800:12393 920807100:12399
zsh % rrdtool update test.rrd 920807400:12405 920807700:12411 920808000:12415
zsh % rrdtool update test.rrd 920808300:12420 920808600:12422 920808900:12423
zsh % rrdtool fetch test.rrd AVERAGE --start 920804400 --end 920809200
speed
920804700: nan
920805000: 4.0000000000e-02
920805300: 2.0000000000e-02
920805600: 0.0000000000e+00
920805900: 0.0000000000e+00
920806200: 3.3333333333e-02
920806500: 3.3333333333e-02
920806800: 3.3333333333e-02
920807100: 2.0000000000e-02
920807400: 2.0000000000e-02
920807700: 2.0000000000e-02
920808000: 1.3333333333e-02
920808300: 1.6666666667e-02
920808600: 6.6666666667e-03
920808900: 3.3333333333e-03
920809200: nan
920809500: nan
zsh % rrdtool graph speed.png \
> --start 920804400 --end 920808000 \
> DEF:myspeed=test.rrd:speed:AVERAGE \
> LINE2:myspeed#FF0000
zsh: no matches found: LINE2:myspeed#FF0000
What is wrong here? I have just copied the examples from the tutorial.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"In the beginning was the Word, and the Word was with
God, and the Word was God. The same was in the
beginning with God. All things were made by him; and
without him was not any thing made that was made."
John 1:1-3
Reply to: