[rrd-users] Re: help with librrd_th
> "Stephen Hall writes:" >> >> Can someone >> tell me how to call rrd_get_context() and interpret the results. Or >> better >> yet, can someone point me to a document that explains how to use the C >> API >> (multi-threaded or otherwise)? > > Since the silence on this topic was deafening I conclude that this stuff > is simply not documented at all. I suppose that if it was hard to write > it > should be even harder to use. Thanks anyway. I want to use rrdtool in C/C++. Would love to help create some sort of bindings or do something with the rrdtool source code. I had a look through the rrdtool.h header files, etc. I guess one would use the header files for the functions, and then link in the librrdtool or librrd_th. All the functions are in the header files... even though there's quite a lot of 'em. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Sorry
Apologies for the previous friendster junk. That was not deliberate and please please ignore it and delete it. Somehow friendster was able to mass send to every single email address in my hotmail account :S including the safe-mailing-list-email-address :O Apologies again and sorry for the inconvience. Kev -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: C/C++ vs. rddtool
Hi RRDTool Users & Per Jessen, Zürich >> Is it possible to use rddtool within C/C++ application? > > Probably not what you intended, but what I do is to attach a thread > running rrdtool. > Whenever I need to update or get a graph or whatever, I simply write the > appropriate > commands to stdin of that thread. Cool! Please tell me more details. Thanks Kev -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: C/C++ vs. rddtool
Hi all again. I have a little file called pathrddtool.sh which contains the lines: export PATH=$PATH:/usr/local/rrdtool-1.2.10/bin After running the script I still don't get my path to rrdtool. I even echo $PATH and it's still the original. Would it be better going back to the ./configure instruction of rrdtool-1.2.10 and instead of specifying --prefix=$INSTALL_DIR (as stated in the rrdbuild page), just omit it? I assume it would install to /usr. The rrdtool-1.2.10/bin should map to /usr/bin, rrdtool-1.2.10/include mapping to /usr/include...hopefully... Correct me on this one. Cheers > I'm not positive on the answer to your question, but you can just create > a symlink (named rrdtool) to /usr/local/rrdtool-1.2.10/bin/rrdtool in > the /bin directory. That's probably not the best way to do it. I would > just add /usr/local/rrdtool-1.2.10/bin to your $PATH. > > -Dan > >>>> "Kevin C." <[EMAIL PROTECTED]> 07/22/05 11:08 AM >>> > Thanks Daniel for the info. I'll look into it. > > Just also wondering. > > I followed the rrdbuild page of instructions word by word for building > and > installing rrdtool. I notice that the $BUILD_DIR = > /usr/local/rrdtool-1.2.10. > > I successfully executed every instruction including the last 'make > install' > for rrdtool-1.2.10. However I notice that I cannot execute rrdtool > elsewhere > but the bin folder. Is it normal that the 'make install' doesn't > automatically 'path' the /usr/local/rrdtool-1.2.10/bin folder? Do we > have to > manually path this folder ourselves? -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: C/C++ vs. rddtool
Thanks Daniel for the info. I'll look into it. Just also wondering. I followed the rrdbuild page of instructions word by word for building and installing rrdtool. I notice that the $BUILD_DIR = /usr/local/rrdtool-1.2.10. I successfully executed every instruction including the last 'make install' for rrdtool-1.2.10. However I notice that I cannot execute rrdtool elsewhere but the bin folder. Is it normal that the 'make install' doesn't automatically 'path' the /usr/local/rrdtool-1.2.10/bin folder? Do we have to manually path this folder ourselves? - Original Message - From: "DANIEL MAGNUSZEWSKI" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Friday, July 22, 2005 3:06 PM Subject: Re: [rrd-users] C/C++ vs. rddtool >I know that the RRDTool frontend "Cacti" has a C++ poller called > "cactid" and it uses RRDTool. Perhaps you can look through the source > and see how they went about using RRDTool and C++ > > http://cacti.net/cactid_download.php > > > Daniel Magnuszewski > CCNA > M & T Bank > [EMAIL PROTECTED] > >>>> "Kevin C." <[EMAIL PROTECTED]> 07/21/05 7:00 PM >>> > Is it possible to use rddtool within C/C++ application? > > How does one use the rddthread that's documented? Is this the librdd_th > > library we can use in C/C++ applications? > > -- > Unsubscribe > mailto:[EMAIL PROTECTED] > Helpmailto:[EMAIL PROTECTED] > Archive http://lists.ee.ethz.ch/rrd-users > WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi > > > > -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] C/C++ vs. rddtool
Is it possible to use rddtool within C/C++ application? How does one use the rddthread that's documented? Is this the librdd_th library we can use in C/C++ applications? -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi