[rrd-developers] Re: rrd_fetch to more than 1 file problems
Paul Klinaftakis
pkli at forthnet.gr
Tue Jan 29 09:47:54 MET 2002
I am not quite familiar with 'optind'. Do you set it from a function call?
----- Original Message -----
From: "Ashok Mandala" <amandala at routescience.com>
To: "Paul Klinaftakis" <pkli at forthnet.gr>
Cc: <rrd-developers at list.ee.ethz.ch>
Sent: Monday, January 28, 2002 8:52 PM
Subject: [rrd-developers] Re: rrd_fetch to more than 1 file problems
>
> Hi Paul,
>
> Did you try setting optind = 0 before each call to rrd_fetch ? This change
> has been able to fix similar problems in calls to other rrd_* functions as
> explained in some older messages in this mailing list.
>
> Ashok
>
> Paul Klinaftakis wrote:
>
> > Hi, I am currently using rrd.h to fetch data and insert them into a
database. I have a default directory where all my rrds are stored and have a
loop that traverses all files, fetches the required data and inserts them
into the database. However, only the first file that get's read returns a
successful rrd_fetch ... has anyone experienced a similar problem? The
second, third, etc file that gets 'fetched' returns a 'not enough arguments'
error using rrd_get_error.
> >
> > Please help.
> >
> > Paul
> >
> > ----------------------------------------------------
> > Paul Klinaftakis
> > R & D Department
> > FORTHnet S.A.
> >
> > Tel.: +3 (081) 0 391248
> > E-mail: pkli at forthnet.gr
> >
> > --
> > Unsubscribe
mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> > Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> > Archive http://www.ee.ethz.ch/~slist/rrd-developers
> > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
> --
> Unsubscribe
mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/rrd-developers
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list