[rrd-developers] Re: rrd_fetch to more than 1 file problems
Ashok Mandala
amandala at routescience.com
Mon Jan 28 19:52:05 MET 2002
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
More information about the rrd-developers
mailing list