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: [EMAIL PROTECTED]
>
> --
> Unsubscribe mailto:[EMAIL PROTECTED]
> Help        mailto:[EMAIL PROTECTED]
> Archive     http://www.ee.ethz.ch/~slist/rrd-developers
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to