Steve Fulton | 4 Sep 01:51 2001
Picon

Request: Dynamic creation/deletion of datasources..


Hi,

  It was suggested by the rrd-users list that I ask here, so:  I really like
RRDTool, but one of the major tasks I need to do involves dealing with
multiple datasources -- and additions will be occuring daily.. Would it be
possible in a (near?) future version of RRDTool?

  Just so I'm clear, I'll explain exactly what one of these tasks is:  I
work for an ISP managing mail servers, and I've written some code to parse
the logfiles to determine who is sending out the most amount of mail, who is
sending our systems the most amount of mail.  This is done for the purpose
of finding spammers, preferably in real time.  Anyway, obviously the users
sending the most amount of mail changes day to day, week to week, month to
month.  I want to import this into RRDTool and graph it accordingly.   The
problem is that RRDTool only allows me to create N datasources when I create
the initial DB -- and I would like to add or delete datasources on the fly..
is that possible?

 -- Steve

---
"If once a man indulges himself in murder, very soon he comes to think
little of robbing; and from robbing he next comes to drinking and
Sabbath-breaking, and from that to incivility and procrastination."
                -- Thomas De Quincey (1785 - 1859)

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
(Continue reading)

Alex van den Bogaerdt | 4 Sep 02:39 2001
Picon

Re: Request: Dynamic creation/deletion of datasources..


Steve Fulton wrote:

>   It was suggested by the rrd-users list that I ask here, so:  I really like
> RRDTool, but one of the major tasks I need to do involves dealing with
> multiple datasources -- and additions will be occuring daily.. Would it be
> possible in a (near?) future version of RRDTool?

The best thing to do is not to add DSes to an existing RRD but rather add
a new RRD with one DS.  There's no problem in combining information from
more than one RRD when you want to create an image, just specify which
DS you'd like to use from which RRD.

Finding out which RRD to use is as hard, or maybe even more simple, than
finding out which DSes to use when all DSes are in one big file.

Maybe I don't see your special needs.  If you have a good reason to use
one RRD with multiple DSes, please share.

>   Just so I'm clear, I'll explain exactly what one of these tasks is:  I
> work for an ISP managing mail servers, and I've written some code to parse
> the logfiles to determine who is sending out the most amount of mail, who is
> sending our systems the most amount of mail.  This is done for the purpose
> of finding spammers, preferably in real time.  Anyway, obviously the users
> sending the most amount of mail changes day to day, week to week, month to
> month.  I want to import this into RRDTool and graph it accordingly.   The
> problem is that RRDTool only allows me to create N datasources when I create
> the initial DB -- and I would like to add or delete datasources on the fly..
> is that possible?

(Continue reading)

Tobias Oetiker | 4 Sep 07:57 2001
Picon
Picon

Re: Request: Dynamic creation/deletion of datasources..


Yesterday Steve Fulton wrote:

 |
 | Hi,
 |
 |   It was suggested by the rrd-users list that I ask here, so:  I really like
 | RRDTool, but one of the major tasks I need to do involves dealing with
 | multiple datasources -- and additions will be occuring daily.. Would it be
 | possible in a (near?) future version of RRDTool?
 |
 |   Just so I'm clear, I'll explain exactly what one of these tasks is:  I
 | work for an ISP managing mail servers, and I've written some code to parse
 | the logfiles to determine who is sending out the most amount of mail, who is
 | sending our systems the most amount of mail.  This is done for the purpose
 | of finding spammers, preferably in real time.  Anyway, obviously the users
 | sending the most amount of mail changes day to day, week to week, month to
 | month.  I want to import this into RRDTool and graph it accordingly.   The
 | problem is that RRDTool only allows me to create N datasources when I create
 | the initial DB -- and I would like to add or delete datasources on the fly..
 | is that possible?

I would create a rrdfile per sender ... this is faster than
modifying an existing file can ever be ...

you could look at the last modification dates of these per address
files and remove them once they have not been updated for more than
lets say 1 day ...

OTOH, it might be sensible to look into using a normal database
(Continue reading)

Dan McGinn-Combs | 4 Sep 15:35 2001
Picon

Re: Request: Dynamic creation/deletion of datasources..


Steve,
while I'm not sure I understand your end goal, let me ramble a bit.

I run a mail system for my company. We have about 4000 users worldwide -
some even in Canada :-). If I understand your goal, it is to figure out who
is doing spamming by sending out large numbers of messages while receiving
small numbers back. I applaud the effort! Please do. But after they are
identified, is your task to monitor their mail on a daily basis so you can
charge them on a per-item basis? Or do you expect to terminate their ability
to send mail once they are identified?

If you are doing the former, then perhaps RRDTool will work for you as it
can give you some interesting graphs to justify the charges. However, I
think if I were presented with an RRDTool graph and asked to pay a
piece-work amount, I'd want to see an itemized billing. And this will not be
available from RRDTool. On the other hand, if your goal is to kick them off
(please, please please!) then you will only need to see a couple of
instances of their abuse of the mail system. In this case an RRDTool graph
along with a GPRINT of  "#of Mails sent over a period of time" may be
sufficient.

At my company, I use RRDTool to provide an elapsed time between sending a
mail with return-receipt and getting that return-receipt. I also use it to
track the number of mails in queue. I had not tried to pick off "who is
sending the biggest/most mails" yet. What I'm doing is providing my
management with trends and analysis of the overall health of the system. It
is an ongoing process that I'm looking at. This is what RRDTool excels at.

It would seem to me that your requirements on a per-abuser basis are more
(Continue reading)

Venkatesh Ramachandran | 6 Sep 13:33 2001
Picon

Regarding Integration with MRTG/RRD

Hello everyone,
   I work on a Network Management tool called Internetwork Performance
Monitor, one of Cisco's set of Troubleshooting and
Monitoring applications. I was trying to integrate our application with
MRTG.
   I was interested in understanding the following points:

   * From the MRTG website and other web resources, i understand that
     MRTG always need an SNMP agent to get the     information. Is my
     understanding correct?
   * Can an application integrate with MRTG ? For example, can another
     application, that collects data  from the routers/switches etc..,
     supply data from its Database, in a specific format, so that MRTG
     can plot the graphs?
   * Is it possible somehow to supply data to the RRD tool from another
     Database, instead of data being collected from the device itself?
   * The RRD website talks about Frontends being developed for RRD -
     which poll network devices and put a friendly user     interface on
     it.But, i wanted to know, if we can fill the RRD tool, incase MRTG
     cannot accept data from a Database.

  It would be of great help, if you could clear my doubts.

Thanks in advance,
Venkatesh.

--
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
(Continue reading)

Alex van den Bogaerdt | 6 Sep 15:11 2001
Picon

Re: Regarding Integration with MRTG/RRD


Venkatesh Ramachandran wrote:

> Hello everyone,
>    I work on a Network Management tool called Internetwork Performance
> Monitor, one of Cisco's set of Troubleshooting and
> Monitoring applications. I was trying to integrate our application with
> MRTG.

So in essence what you're saying is that you are a user of rrdtool.
Let's move the discussion to the users list, shall we?

I'll respond to the rest of your message in another reply, cc'ing
the rrd-users list.

cheers,
Alex

--
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

Christoffer Blindheim | 27 Sep 03:46 2001
Picon

rrdgraph, VDEF TOTAL


I just downloaded a beta of RRDtool because I need the VDEF and the TOTAL
function. When I tried this feature I discovered that TOTAL is reporting
the same value for both ds. I've tried to locate were the bug is, but I
can't find it. Seems like vdef_calc is using the address to the first ds
for both calculations.

ds0   != ds1
ds0tot = ds1tot

commandline:

./rrdtool graph /tmp/test.gif \
DEF:ds0=/var/mrtg/ssin_gigabitethernet0_1.rrd:ds0:AVERAGE \
DEF:ds1=/var/mrtg/ssin_gigabitethernet0_1.rrd:ds1:AVERAGE \
VDEF:ds0tot=ds0,TOTAL \
VDEF:ds1tot=ds1,TOTAL \
AREA:ds0bits#00C000:"Inbound " \
GPRINT:ds0tot:"%6.2lf %Sbps\n" \
LINE1:ds1bits#0000FF:"Outbound" \
GPRINT:ds1tot:"%6.2lf %Sbps\n"

Can anyone help me?

--

-- 
Christoffer

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
(Continue reading)

Henk Uijterwaal (RIPE-NCC | 27 Sep 17:50 2001
Picon
Picon

RRDcgi question


Hi,

I have RRDcgi script that looks like:

-----------
 #!/usr/local/bin/rrdcgi

   [...]
   <SELECT ID="TB List" NAME="RRD_NAME">
    <OPTION VALUE="193.0.0.2">tt02</OPTION>
    <OPTION VALUE="193.0.0.28">tt03</OPTION>
    <OPTION VALUE="193.0.0.6">tt04</OPTION>
    [...]
   </SELECT>

   <RRD::GRAPH [...]
   >

   <INPUT TYPE=SUBMIT NAME="Draw" VALUE="DRAW">
------------

The first time this is run, it shows a page with the selectors set to
"tt02" and "small".  Suppose I set them to "tt04" and "large", then submit
the page and get a plot.

However, on that next page, the selectors are again set to "tt02" and
"small".  The user now often wants to refine the plot, but is then forced
to make all selections he just made again.

(Continue reading)

Shack Toms | 28 Sep 22:23 2001

pngtest.c


I am trying to do an NT build of 1.0.33.  Png.dsp wants to build
libpng-1.0.9/pngtest.c which is missing from rrdtool-1.0.33.tar.gz and from
rrdtool-1.0.33.x86distr.zip .   Is there someplace else I should be looking
for this?

I was able to build everything by supplying pngtest.c from cygwin
(libpng-1.0.9-3), but thought maybe that was wrong.

Shack

--
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


Gmane