[rrd-users] Re: increase performance

Daniel J McDonald dmcdonald at digicontech.com
Thu Aug 23 00:13:11 MEST 2001


Alex van den Bogaerdt Wrote:

>So, doing an snmpwalk on all interfaces and then processing the result
>on the monitoring box (for instance, using 10 out of 20 values) is not
>efficient at all, except that the monitoring box can do its work a bit
>quicker.

Actually, if you use a version of SNMP_utils.pm greater than 0.86, and can
perform snmp v2 calls, then &snmpwalk will use the snmpgetbulk routine,
which is much more efficient than determining which interfaces you need to
poll and then polling them in a single PDU.

So, try:
@inoctet = &snmpwalk('public at 172.16.0.1::::2','ifInOctets');

if you are really brave, you can try calling the getbulk process directly,
but that's not for the faint of heart.

Daniel J McDonald, CCIE 2495, CNX
Principal Network Specialist
Digicon Technologies
http://www.digicontech.com

Digicon, a Cisco Partner, Silver Certified.



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