[rrd-users] Re: increase performance
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Wed Aug 22 14:23:19 MEST 2001
Peter Kassies wrote:
> 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?
While the monitoring box may get a performance boost, I'm wondering what
happens to the monitored host. It too will have to answer to lesser
calls but at the same time it needs to deliver more data in a single
request.
Can Somebody Who Knows give more insight?
What happens in the following scenarios?
-1- the amount of data fetched using snmpwalk is considerably more
than a few snmpget calls would fetch (10 or so)
-2- the amount of data fetched using snmpwalk is considerably more
than many snmpget calls would fetch (i.e. 100 or more)
-3- the amount of data fetched using snmpwalk is more or less the
same as a few snmpget calls would fetch (ifInOctets for 12 ports)
-4- the amount of data fetched using snmpwalk is more or less the
same as many snmpget calls would fetch (ifInOctets for 200 ports)
> Does anybody else have any ideas to increase the performance?
I find that loading (/starting/whatever) perl uses many resources.
Having a daemon that is started once and keeps running is much better
(IMHO) than starting it every 5 minutes from cron. Alternately you
can fetch data without using perl.
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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