[rrd-users] R: Re: COUNTER32 and Summarization Graph

Felici Simone s.felici at alpikom.it
Thu Sep 23 11:50:45 MEST 2004


Ok, it's a possibility, but I don't want to use MRTG on this server.

There is a way to add all COUNTER32 values with a script? Maybe sum all IN
values (IN - IfInOctets) into one variable and all OUT values (OUT -
ifOutOctets) into another variable and store only the MOD output (4294967295
Dividend Mod Divisor) that returns the remainder value...
This because COUNTER32 Values are Reset to 0 il value 4294967295 is reached.

Could it work or has someone another way? :)

Thank's

Simone

-----Messaggio originale-----
Da: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] Per conto di Lars Rune Bjørnevik
Inviato: giovedì 23 settembre 2004 0.55
A: rrd-users at list.ee.ethz.ch
Oggetto: [rrd-users] Re: COUNTER32 and Summarization Graph


Hi,
I just got an ide based on how we've solved this problem preveiosly in MRTG:

In stead of summing based on the collectded data - use MRTG (or your own
script) to collect an new dataset with the sum in one or several rrd's?

E.g: cfg def:
Target[xx]: 1:public at router + 2:public at router + 3:public at router +
4:public at router + ..... n:public at router

Thehn you at least whold have the possebilety of collecting say 10 routers
into one rrd file, and the max values would increse to 2480....

Cheers,
Lars Rune

-----Original Message-----
From: Felici Simone [mailto:s.felici at alpikom.it] 
Sent: 22. september 2004 17:05
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] COUNTER32 and Summarization Graph

Hello to all!

I need a little help.
I've a script collecting many-many values (COUNTER32) on Cisco devices and
until here it's all ok! Every line is stored into a single rrd file, because
there are daily new lines configured and the script create new rrd files if
needed. If I try to generate a graph for a single file all works well. I
need a Summarization Graph to display the total traffic of all lines. I've
also created a script with CDEF commands make a sum of all lines and create
a single graph. All works well until today. The lines of one device are
groved up a lot and I've received the following error:

"/bin/rrdtool: Argument list too long"

There are 248 lines, 248 values into one value (CDEF SUM). It's possible
I've reached the maximum number of values to sum?

If it's true, can someone help me to find a way to SUM all lines into one?
The COUNTER32 values are "strange" to sum together before are stored into
one single rrd file. I could collect all values, but dont know how sum the
values together and store all into a single rrd file instead of sum all
these values with CDEF commands.

Any idea?

Thank's a lot to all!


Simone

Simone Felici        E-Mail: s.felici at alpikom.it
Divisione Tecnica    info: 800 969 800
Alpikom S.p.A.       URL: http://www.alpikom.it 


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list