[rrd-users] Re: problems summing many sources together

2006-06-07 Thread MrPaul
On 6/7/06, Georges Toth <[EMAIL PROTECTED]> wrote: > Also, is there no more efficient solution for doing this ? > > > Thnx > > -- > > regards, > Georges Toth I'm getting the average of 5137 interfaces using routers2.cgi. The only requirement was to add the following like to the MRTG config file(s

[rrd-users] Re: Retrieving numeric data from rrdtool graph command

2006-06-07 Thread Darryl Dunkin
Yes, use 'print' in your graph parameters and the results will be printed to stdout. Results will include your image size (0x0 if you only used the print statements) and the results. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarus Balog Sent: Wednes

[rrd-users] Retrieving numeric data from rrdtool graph command

2006-06-07 Thread Tarus Balog
Gang: This is probably a newbie question, but I did make the attempt to read the docs and search the web, so forgive me if this is real obvious and feel free to point me to a URL. I have a graph defined using RRDTool 1.2 that uses a VDEF to return a 95th percentile calculation. It works fin

[rrd-users] Re: can I configure php4rrdtool with PHP5.x or not

2006-06-07 Thread D. Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 7, 2006, at 07:46 , Thati Ravi wrote: > Here I am tryng to user RRD functions in my PHP scripts. > (In my Linux I have php4 as well as php5.x. > But in my webserver only php5.x is configured.) > I hvae configured the php4rrdtool with rrdtool-1

[rrd-users] Reading rra files

2006-06-07 Thread Rafael Barbosa
Hello, Actually I'm a Cacti user, but I have a question about the rra files. I need to "read" the rra files that have the information about the load on my network interfaces to use it in a program that make network simulations (OPNet Modeler). When I was using MRTG it was really easy to import this

[rrd-users] Re: problems summing many sources together

2006-06-07 Thread Georges Toth
> you need to add an IF directive there which returns data or zero if undefined: > | CDEF:mycdef=mydef,UN,0,mydef,IF Thanks a lot ! That did the trick :-). I tried two different approaches. First one is to define 21 times this: CDEF:in_1=in1,UN,0,in1,IF CDEF:out_1=out1,UN,0,out1,

[rrd-users] Re: problems summing many sources together

2006-06-07 Thread Fabien Wernli
On Wed, Jun 07, 2006 at 05:26:08PM +0200, Georges Toth wrote: > Which "looks" fine if all the soruces contain data. > But if some sources don't contain data, I just get NAN. you need to add an IF directive there which returns data or zero if undefined: | CDEF:mycdef=mydef,UN,0,mydef,IF which yie

[rrd-users] problems summing many sources together

2006-06-07 Thread Georges Toth
Hi all, I need to sum 21 sources. What's the best way to do that ? I tried it like this: CDEF:intot=in1,in2,in3,+,in4,+,in5,+,in6,+,in7,+,in8,+,in9,+,in10,+,in11, +,in12,+,in13,+,in14,+,in15,+,in16,+,in17,+,in18,+,in19,+,in20,+,in21,+ Which "looks" fine if all the soruces contain data. But if s

[rrd-users] Re: first attempt problems

2006-06-07 Thread Michael P. Soulier
On 07/06/06 Alex van den Bogaerdt said: > Four counters, nothing special. Three observations: > 1) the order of these DSes is not the same as you describe above. > 2) the input needs to be increasing numbers, like odometers. > 3) you use LAST, I wonder why 1. my fault for not typing them in the s

[rrd-users] Re: Values in RRD are incorrect

2006-06-07 Thread Richard Marshall
Hi Jeremy, I have actually managed to trace the cause of the problem. the values that I was entering were time dependant. - I was taking the sum of 5 results that fell within a minute. depeneding on when the cron job runs, the last result in a query could contain the sum of anywhere betwenn 1 a

[rrd-users] Re: How can I know that The RRD tool fucntion are installed into the PHP

2006-06-07 Thread Peter Valdemar Mørch
Thati Ravi thati.ravi-at-gmail.com |Lists| wrote: > I am new to use RRDTool,that t, with PHP. > > Can anybody send me how can I configure my PHP 5.x with RRDtool-1.0.49 > > thanks in advance Ok, I've now seen several posts from you. I don't use PHP at all, but I'm going to try to give you some

[rrd-users] How can I know that The RRD tool fucntion are installed into the PHP

2006-06-07 Thread Thati Ravi
I am new to use RRDTool,that t, with PHP. Can anybody send me how can I configure my PHP 5.x with RRDtool-1.0.49 thanks in advance -- With Regards Ravi.Thati Our Attempts may fail but we should not fail to attempt. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTE

[rrd-users] can I configure php4rrdtool with PHP5.x or not

2006-06-07 Thread Thati Ravi
Here I am tryng to user RRD functions in my PHP scripts. (In my Linux I have php4 as well as php5.x. But in my webserver only php5.x is configured.) I hvae configured the php4rrdtool with rrdtool-1.0.49 version. I ran the examples PHP scripts which have come with the php4 rrdtool tar files (command

[rrd-users] Re: first attempt problems

2006-06-07 Thread Alex van den Bogaerdt
On Tue, Jun 06, 2006 at 06:05:30PM -0400, Michael P. Soulier wrote: > I'm using a perl script to tail my postfix logs and count email in four > conditions. > > 1. connection attempts > 2. rejected attempts > 3. received email (accepted) > 4. sent email > > I have four simple text files populate

[rrd-users] change the Y-axis values

2006-06-07 Thread Greta
Hello, Is it possible to change the Y-axis values? What I mean is to extract the lower values and compress the highest values. When you now see the graph you only see a peek to 20M an nothing else any more because this is below the 100K. -- Attached file removed by Ecartis and put at URL b

[rrd-users] first attempt problems

2006-06-07 Thread Michael P. Soulier
Hello, I'm rather new to rrdtool, so please bear with me. I'm using a perl script to tail my postfix logs and count email in four conditions. 1. connection attempts 2. rejected attempts 3. received email (accepted) 4. sent email I have four simple text files populated, with a perl wrapper arou