Hi,

I use mib2c with mib2c.iterate_access.conf to generate template code.

In a usual case, a table just has one integer index value to identify each row.
ex: when agent receive a request with oid: 1.3.6.1.4.1.7788.100.1.idx, it can 
use idx to find the correct row and get data.

idx      ip                              vlan                port ...
 1         192.168.100.1           1                    10 
 2         192.168.100.2           2                    20  
 3         192.168.100.3           3                    30  
  ... 

But if my table is indexed by multiple indexes (ex: ip and vlan), how can agent 
mapping  1.3.6.1.4.1.7788.100.1.idx to the correct row? Or I still need to add 
one idx column by myself?

ip                              vlan                port ...
192.168.100.1           1                    10 
192.168.100.2           2                    20  
192.168.100.3           3                    30  
  ... 

Thanks,

永鈦鑫   iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C.
Tel:03-5716099 Ext.1208
E-mail:[EMAIL PROTECTED]
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to