So, assuming: - to get single value, the most beneficial is reguler SNMPGET (the lowest data traffic and the lowest proccessing load on agent). Is that right ?
SNMPGET = Get request SNMPWALK = GetNext SNMPBULKGET && SANPBULKWALK = GetBulk Thanks, czezz Dnia 24 maja 2012 10:43 Dave Shield <[email protected]> napisaĆ(a): > On 24 May 2012 08:20, czezz <[email protected]> wrote: > > I am going to use SNMPBULKGET only. > > So, just to have a good understanding - in this case I will get no benefits > > comparing to regular SNMPGET, is this correct ? > > It doesn't really make sense to compare Get vs GetBulk. > They are doing two different tasks. > The more sensible comparison is between GetNext and GetBulk. > > > > With SNMPGET or SNMPBULKGET I request for specific OID > > and in my understanding I will always get singe value (eg. ifAdminStatus.1). > > Not quite. > > With the SNMP Get request, you ask for a list of (one or more) OIDs, > and receive the corresponding values - the same number as requested OIDs > (and for those precise OIDs). If you ask for one OID, you'll get one answer. > (And if you ask for the wrong OID, you won't get anything.) > > With the SNMP GetNext request, you ask for a list of (one or more) OIDs, > and receive a list of the "next" OID/value pairs. Again, the same number > of values as originally requested OIDs. If you ask for one OID, you'll > still get one answer. > (But you should always get something back, even if you ask for the "wrong" > OID). > > GetBulk is primarily a supercharged GetNext - you ask for a list of (one or > more) OIDs, and receive a longer list of the N "next" OID/value pairs. > Typically, if you ask for one OID, you might receive ten answers. > (The precise number depends on how you specified the original query) > > If you only want a single answer back, then don't use GetBulk. > It doesn't gain you anything, and just puts extra processing load > on the receiving agent. > > > > I wont use SNMPWALK and SNMPGULKWALK. > > Remember there is no such thing as a "Walk" (or "BulkWalk") request > within the SNMP protocol. These are simply client commands that send > a sequence of GetNext (or GetBulk) requests, to retrieve a larger block > of information. > > Dave > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
