Re: [rrd-users] Perl failing on :dashes

2008-07-21 Thread Chris Fogel
Visiting this again, i am currently using $VERSION=1.299907080300; of 
RRDs.pm, and using rrdtool 1.3rc1, but the version of RRDs.pm in that 
package appears to be 1.299907080300, so I'm not sure what the issue is. 
I've also now discovered that this version of RRDs.pm does not work with 
ADDNAN in the CDEF: line, but it works on command line...

Is there somewhere to download just the Perl libs or is this the correct 
version?

Thank you,
Chris




Alex van den Bogaerdt wrote:
> Back to your problem.
> 
> Looking at the error you report, it could be 
> (a) the perl command parser is different from the command line parser 
> (unlikely)
> (b) you are trying to set legend "Previous:dashes" (also unlikely)
> (c) you are using a version 1.2 RRDs and a version 1.3 rrdtool (very likely).
> 

-- 
Chris Fogel, InterMetro Communications, Inc.
805.433.8000/o, 805.433.0049/d, 805.582.1006/f
[EMAIL PROTECTED], http://www.InterMetro.Net

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] rrd function in C programming

2008-07-21 Thread Andreas Maus
On Mon, Jul 21, 2008 at 05:14:32PM +0800, [EMAIL PROTECTED] wrote:
> Hi everyone,
> I am really breaking my neck trying to figure out how to call rrd 
> functions in C programs (i do not want to fork a process and exelc the 
> script by the way). Unfortunately not so many materials are available. I 
> found in the oetiker website that some wrap functions (such as 
> wrap_rrd_create() can be used in C. I tried this, but problems arise as I 
> want to compile my program. I think i did something wrong while linking, 
> etc. But i am not sure about how to compile it, either the library path. 
> Can anyone please help me with this? 
Hi Shirley.

The API is defined in rrd.h and for most functions
they accept the same arguments as the command line
call.

What problems do you have while compiling ?
Can you be a more specific and send the errors
you got? Without the error messages no one can help you.

HTH,

Andreas.

-- 
Dipl.-Ing. Andreas Maus science+computing ag
System Administration   Hagellocher Weg 73
tel.: +49 7071 9457 671 72070 Tuebingen, Germany
fax: +49 7071 9457 411  www.science-computing.de


pgpcDF9nuzC2u.pgp
Description: PGP signature
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


[rrd-users] rrd function in C programming

2008-07-21 Thread zhuxl
Hi everyone,
I am really breaking my neck trying to figure out how to call rrd 
functions in C programs (i do not want to fork a process and exelc the 
script by the way). Unfortunately not so many materials are available. I 
found in the oetiker website that some wrap functions (such as 
wrap_rrd_create() can be used in C. I tried this, but problems arise as I 
want to compile my program. I think i did something wrong while linking, 
etc. But i am not sure about how to compile it, either the library path. 
Can anyone please help me with this? 

Thanks a lot!

Shirley___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users