Hi Greeting:

  I used the asynchronous SNMP polling (with 4 ifIndex grouped in one request 
pdu ). How do I distinguish the returned counter value by their ifIndex? 
  For example I have received the following variable buffer., how do I store 
all the index 3 data to one record and index 4 data to another record?
  I'd appreciate your help. Thanks in advance.

-Jim

####
Received 
192.168.38.254: IF-MIB::ifInOctets.3 = Counter32: 0
192.168.38.254: IF-MIB::ifInUcastPkts.3 = Counter32: 0
192.168.38.254: IF-MIB::ifInNUcastPkts.3 = Counter32: 0
192.168.38.254: IF-MIB::ifInDiscards.3 = Counter32: 0
192.168.38.254: IF-MIB::ifInErrors.3 = Counter32: 0
192.168.38.254: IF-MIB::ifOutOctets.3 = Counter32: 196934988
192.168.38.254: IF-MIB::ifOutUcastPkts.3 = Counter32: 3282243
192.168.38.254: IF-MIB::ifOutNUcastPkts.3 = Counter32: 2
192.168.38.254: IF-MIB::ifOutDiscards.3 = Counter32: 0
192.168.38.254: IF-MIB::ifOutErrors.3 = Counter32: 0
192.168.38.254: IF-MIB::ifInOctets.4 = Counter32: 1368626171
192.168.38.254: IF-MIB::ifInUcastPkts.4 = Counter32: 154759875
192.168.38.254: IF-MIB::ifInNUcastPkts.4 = Counter32: 3857539
192.168.38.254: IF-MIB::ifInDiscards.4 = Counter32: 0
192.168.38.254: IF-MIB::ifInErrors.4 = Counter32: 13203
192.168.38.254: IF-MIB::ifOutOctets.4 = Counter32: 480555428
192.168.38.254: IF-MIB::ifOutUcastPkts.4 = Counter32: 155340239
192.168.38.254: IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
192.168.38.254: IF-MIB::ifOutDiscards.4 = Counter32: 246718
192.168.38.254: IF-MIB::ifOutErrors.4 = Counter32: 0

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.6/324 - Release Date: 2006/4/25
 

Reply via email to