From valerianaroncero at bol.com.br Sat Apr 21 02:53:53 2001 From: valerianaroncero at bol.com.br (Valeriana Roncero) Date: Fri, 20 Apr 2001 21:53:53 -0300 Subject: [rrd-developers] RRDtool + NTop Message-ID: <002b01c0c9fd$8a7eab80$9438d6c8@h6a9y4> Hi !!! How can I configure rrdtool to find the data that ntop produces.... I have two files nwUsage.pl and protoUsage.pl but when I run them from the prompt they give me the same erro message: ./nwUsage.pl & [1] 31674 [root at sodium html]# Bareword found where operator expected at (eval 7) line 7, near "/H1> ntop" (Missing operator before ntop?) Bareword found where operator expected at (eval 7) line 10, near "/A> v.1.1 MT [i586-pc-linux-gnu] listening on eth0
© 1998-99 by L. Deri ntop" (Missing operator before ntop?) Bareword found where operator expected at (eval 8) line 10, near "/A> v.1.1 MT [i586-pc-linux-gnu] listening on eth0
© 1998-99 by L. Deri hello, just had an question on how to integrate the rrdtool in c++ i'm using the tool now through executing the rrdtool.exe in my c++ program, but is it possible or is there an example on how to integrate the source in to c++ program? regards, Edwyn Stapel -- 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 From mdz at debian.org Sat Apr 28 01:21:24 2001 From: mdz at debian.org (Matt Zimmerman) Date: Fri, 27 Apr 2001 19:21:24 -0400 Subject: [rrd-developers] Re: integrating rrdtool source into c++ program(windows nt) In-Reply-To: ; from Edwyn.Stapel@eln.ericsson.se on Fri, Apr 27, 2001 at 09:43:39AM +0200 References: Message-ID: <20010427192123.E23756@alcor.net> On Fri, Apr 27, 2001 at 09:43:39AM +0200, Edwyn Stapel (ELN) wrote: > just had an question on how to integrate the rrdtool in c++ i'm using the > tool now through executing the rrdtool.exe in my c++ program, but is it > possible or is there an example on how to integrate the source in to c++ > program? You can simply link your program against librrd, and use the routines declared in rrd.h. They are already wrapped in extern "C" when appropriate. Look at the rrdtool source itself for examples. -- - mdz -- 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