[rrd-users] increase performance

Peter Kassies p.kassies at ptt-post.nl
Wed Aug 22 12:01:42 MEST 2001


Hello all,

We are using RRD to monitor routers and solaris machines (via UCD-SNMP) it
works great.
We have written a few perl scripts to read the snmp variables into RRD.
The Perl scripts are very simple, for example:

$CpuIdle = join('',`$snmp_dir/snmpget -O s -p $port $ipaddress xpasswordx
enterprises.ucd
avis.systemStats.ssCpuIdle.0`);


Problem:
Currently monitoring about 50 hosts and the limited server we use (a 8 year
old Sun Netra-i) has an avg load of 3. And is nearly passing its 5 minute
round time to read the information from the routers and server.

Question:
I want to increase the speed of reading out the systems. Now I'm not the
world greatest coder, but I think a lot of speed can be gained by NOT
opening a seperate socket for every snmpcall. I can do this by using
snmpwalk, storing the info in an temporary array and taking some of that
information into RRD.

Is this a good idea?

Does anybody else have any ideas to increase the performance?

Thanks,

Peter Kassies
ps I don't want to use cricket, had a look at it, but its to complicated for
the average maintenance man on our site.


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