in reply to Net::SNMP method efficiency

It' not more efficient for the hardware or the network. When you walk an SNMP table, you do it by retriving the first value, then sending a get_next over and over until a value is received that isn't in the table. So however many entries are in the table, you've sent that many requests and received that many responses.

Update: If your're using other than v1 of SNMP, what I sadi above may be untrue.

--Bob Niederman, http://bob-n.com

Replies are listed 'Best First'.
Re: Re: Net::SNMP method efficiency
by zengargoyle (Deacon) on Jul 22, 2003 at 02:14 UTC

    true, unless you can use SNMPv2/3 bulk(get/walk) commands, then you just might get them in all in one packet. or at least get N values per packet vs 1 value per packet.

      oops, found out the same thing, updated before seeing your response.

      Unfortunately, most implmentations are v1, so far as I know. The standards never coalesced and the vendors sat out the battle.

      --Bob Niederman, http://bob-n.com