[rrd-developers] Re: Request: Dynamic creation/deletion of datasources..
Tobias Oetiker
oetiker at ee.ethz.ch
Tue Sep 4 07:57:08 MEST 2001
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
like postgresql or mysql for this purpose ...
cheers
tobi
|
| -- 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
| Archive http://www.ee.ethz.ch/~slist/rrd-developers
| WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
|
|
--
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ mailto:oetiker at ee.ethz.ch http://people.ee.ethz.ch/~oetiker
--
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
More information about the rrd-developers
mailing list