[rrd-users] Problem with RRD perl-shared on AIX

Peter.Fuchs PETER.FUCHS at Allianz.de
Tue Jul 30 18:35:19 MEST 2002


Hi,

I have problems with the RRD perl-shared Module.
I use: AIX-4.3.3 ML9; gcc 3.0.3; perl 5.6.1; rrdtool-1.0.39;
remstats-0.13.2

'make test' in rrdtool-1.0.39/perl-shared failed with:
-v---
t/base..............ok 1/7t/base.t: unable to create `demo1.rrd': start
time: unparsable time:
t/base..............dubious

        Test returned status 255 (wstat 65280, 0xff00)
rrdtools/remstats
-^---

Tests with remstats 'check-config' perl-script fails with a lot of
different errors:
-v---
/var/remstats/bin # ./check-config
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alub001/ping.rrd: start time: unparsable time:
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alua005/ping.rrd: step size should be no less than one
second
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alu050/ping.rrd: can't parse argument
'/var/remstats/data/alu050/ping.rrd'
dummy: invalid option -- t
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alu050/port-ssh.rrd: unknown option ''
dummy: invalid option -- u
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alu050/port-smtp.rrd: unknown option ''
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alu050/port-telnet.rrd: can't parse argument
'/var/remstats/data/alu050/port-telnet.rrd'
check-config: ERROR: make_rrd: couldn't create
/var/remstats/data/alu045/ping.rrd: can't parse argument
'/var/remstats/data/alu045/ping.rrd'
-^---

With two modified perl-lines in check-config to use the normal 'rrdtool'
command:
-v---
#  RRDs::create $rrdfile, @args;
#  my $error = RRDs::error;
  my $bla="/usr/local/rrdtool/bin/rrdtool create $rrdfile @args";
  my $error=`$bla 2>&1`;
-^---

It works fine:
-v---
/var/remstats/bin # ./check-config
created /var/remstats/data/alub001/ping.rrd for alub001
created /var/remstats/data/alua005/ping.rrd for alua005
created /var/remstats/data/alu050/ping.rrd for alu050
created /var/remstats/data/alu050/port-ssh.rrd for alu050
created /var/remstats/data/alu050/port-smtp.rrd for alu050
created /var/remstats/data/alu050/port-telnet.rrd for alu050
created /var/remstats/data/alu045/ping.rrd for alu045
-^---
This created Files seems really to be ok.

This is a workaround for RRDs::create, but unfortunately the other RRDs::*
are also unuseable.
What's wrong in my environment?

Regards,
  Peter Fuchs

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