[smokeping-users] Re: missing max for DS uptime?

Niko Tyni ntyni+smokeping-users at mappi.helsinki.fi
Mon May 23 12:21:11 MEST 2005


On Sun, May 22, 2005 at 04:28:15PM -0400, Kennedy Clark wrote:
> I just added SmokePing 2.0 RC4 to a CentOS 3.4 box.  I installed the
> RRDTool 1.2.8.1 from Dag's repository (in testing state).  Smokeping
> appears to be collecting data correctly, but when I hit the
> smokeping.cgi I get the following error:
> 
> /usr/local/smokeping/rrds/test/test.rrd: missing max for DS uptime? at
> /usr/local/smokeping/lib/Smokeping/RRDtools.pm line 113.

Hi,

there's been one report of this before, on SuSe Linux 8.2, and we
couldn't really figure out what's causing it.

Could you do the following tests, please?

- create a new rrd file

% rrdtool create foo.rrd DS:test:GAUGE:300:0:NaN DS:test2:GAUGE:300:0:500 RRA:AVERAGE:.5:2400:2

- run the following Perl script

--clip--
#!/usr/bin/perl -w

use strict;
use RRDs;

print "Perl version: $]\n";
print "RRDs version: $RRDs::VERSION\n";

my $info = RRDs::info('foo.rrd');
print "file RRD version: " . $info->{rrd_version} . "\n";
print "test exists: " . (exists $info->{'ds[test].max'} ? 'yes' : 'no') . "\n";
print "test defined: " . (defined $info->{'ds[test].max'} ? 'yes' : 'no') . "\n";
print "test2 exists: " . (exists $info->{'ds[test2].max'} ? 'yes' : 'no') . "\n";
print "test2 defined: " . (defined $info->{'ds[test2].max'} ? 'yes' : 'no') . "\n";
--clip--

- mail the results to me

Thanks,
-- 
Niko Tyni		ntyni at iki.fi

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



More information about the smokeping-users mailing list