[rrd-users] Re: RRDtool for dummies

eddie eddie at maxis.net.my
Mon Jul 24 12:49:11 MEST 2000


Sorry.  I got confused.  I still got error after running the following
script:

#!/usr/bin/perl
$pop1conx = `snmpget 202.75.130.115 dingo .1.3.6.1.4.1.311.1.7.8.1.9.0`;
($part1, $part2) = split(/=/,$pop1conx);
#print("$part2");
@cmd="/usr/local/rrdtool-1.0.24/bin/rrdtool update pop1conx.rrd N:$part2
";
system(@cmd);

Below is the error I got:

ERROR: expected 1 data source readings (got 0) from 21:...


Regards,Eddie
----- Original Message -----
From: "eddie" <eddie at maxis.net.my>
To: "Jerome Fleury" <jerome.fleury at none.net>; <rrd-users at list.ee.ethz.ch>
Sent: Monday, July 24, 2000 4:30 PM
Subject: [rrd-users] Re: RRDtool for dummies


>
> Thank you.  I got it fixed.
> Appreciate it.
> ----- Original Message -----
> From: "Jerome Fleury" <jerome.fleury at none.net>
> To: <rrd-users at list.ee.ethz.ch>
> Sent: Monday, July 24, 2000 4:11 PM
> Subject: [rrd-users] Re: RRDtool for dummies
>
>
> >
> > eddie wrote:
> > >
> >
> > > [root at eddx bin]# snmpget 202.75.130.115 dingo
> ..1.3.6.1.4.1.311.1.7.8.1.9.0
> > > enterprises.311.1.7.8.1.9.0 = 12
> > >
> >
> > Look at the output of snmpget:
> >
> > to update your counter, you should split the string using
> > split('=',$string)
> >
> > --
> > Jerome Fleury      none Networks / Freesbee
> > Network Team
> > +33 1 45082314
> >
> > --
> > 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
> >
> >
>
>
>
> --
> 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
>
>



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