[rrd-users] Re: expected 2 data source got <8>

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Apr 27 07:41:06 MEST 2004

On Mon, 26 Apr 2004, Smita Dutta wrote:

> {
> $in1=`snmpwalk -v 1 -c public addr`;
> $out1=`snmpwalk -v 1 -c public addr`;
> print $in1;
> print $out1;
> RRDs::update("$local_dir/myrouter.rrd","N:$in1:$out1");
> my $ERR=RRDs::error;
> die "ERROR while updating mydemo.rrd: $ERR\n" if $ERR;
> sleep(300 );
> }

Wo what DO you see exactly if you run this script? From the error I think
you get 4 parameters and not just 1 back from your snmpwalk command.

You may want to take a look at:

Which was build with assistence from this list.


 All email sent to me is bound to the rules described on my homepage.
    hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.

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