[rrd-users] Current (LAST) samples always show 0 in legend

Bill Sandiford sysop at interlinks.net
Sat Apr 12 19:32:50 MEST 2003


I have recently installed rrdtool and 14all to work with my install of mrtg 2.9.28.  Everything appears to be working fine with the
exception of the current in/OUT value in the legend of the graph...It always displays 0.

Someone had given me the following suggestion but it didn't seem to work (in fact when I did this I got a big red image that said
CANNOT CREATE GRAPH)..they had suggested that the problem was because either rrdtool or 14all.cgi didn't know what 'now' meant

>Open 14all.cgi and find the following :
>my %graphparams = (
>         'daily'   => ['-2000m', 'now',  300],
>        'weekly'  => ['-12000m','now', 1800],
>         'monthly' => ['-800h', 'now',  7200],
>         'yearly'  => ['-400d', 'now', 86400],
>         'daily.s' => ['-1250m', 'now',  300],
>);
>
>and change it to
>
>my %graphparams = (
>         'daily'   => ['-2000m', '-5m',  300],
>        'weekly'  => ['-12000m','-30m', 1800],
>         'monthly' => ['-800h', '-2h',  7200],
>         'yearly'  => ['-400d', '-1d', 86400],
>         'daily.s' => ['-1250m', '-5m',  300],
>);

Unfortunately this didn't work....Any ideas.

--
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