[rrd-users] Re: Creating multiple DS in batch mode

Stephen Cheung stephen.cheung at hds.com
Wed Feb 25 12:53:44 MET 2004


Alex,

The number of DSes will be static - 2048.  They are actually logical disks
in a storage device, which I am polling via snmpwalk to gather performance
stats for each disk.  I then feed that in into RRD.

So if was to run the snmpwalk command at the command line:

     snmpwalk -Ov ipaddress community_name oid

I get counter value for each disk
0
0
23
34
167
0

etc
.....total of 2048 entries (results returned in about 3 seconds, not bad!!)

That is for just one OID.  I plan to monitor 7 OIDs, which means 14336 rrds.
The OS is not the problem. The main issue is updating so many databases. I
found that updating one rrd file with multiple DSes (20 seconds or so) was a
lot quicker than updating multiple rrd files with single DSes (minutes).  

If someone can tell me a better way to do it...I'm happy to take suggestions

Thanks
Steve

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
To: rrd-users at list.ee.ethz.ch
Sent: 25/02/2004 1:00 AM
Subject: [rrd-users] Re: Creating multiple DS in batch mode

On Wed, Feb 25, 2004 at 10:51:56AM +1100, Stephen Cheung wrote:
> Hi all,
>  
> I am trying to create multiple Data Sources (2048 - is there a limit?)
for a
> single rrd file, but I I can't figure out what the best way to do it

> I know how to create multiple rrd files with individual DS, but that
means
> too many files

You should really think twice to the power of two before doing this.

Sure, it may be easy to create an RRD with 2048+ DSes.  Maybe you have
2048 cable modems or so you want to monitor.  But what if this number
changes.  Are you going to add or remove DSes?

What is this OS that cannot cope with 2048 files? Or what other problem
are you having?

Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

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