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