Re: multiple indexes

2008-06-27 Thread Dave Shield
2008/6/27 Tewen Hsieh <[EMAIL PROTECTED]>: > Could you tell me where can I find such an example? > I try to find it in the /agent/mibgroup/examples directory. Did you bother to look in any of the other directories under 'mibgroup'? There are *lots* of MIB modules implemented in the code, many of

Re: multiple indexes

2008-06-27 Thread Tewen Hsieh
] - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Tewen Hsieh" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 27, 2008 6:03 PM Subject: Re: multiple indexes > 2008/6/27 Tewen Hsieh <[EMAIL PROTECTED]>: >> That is how agent ma

Re: multiple indexes

2008-06-27 Thread Dave Shield
2008/6/27 Tewen Hsieh <[EMAIL PROTECTED]>: > That is how agent mapping integer index value to a noninteger index > value(ex: ip)? > Or ip can not be a index? Each table should only has integer index value? Please look at the code for existing tables that are indexed using IP addresses.There ar

Re: multiple indexes

2008-06-27 Thread Tewen Hsieh
,Shuiyuan St., Hsinchu City, Taiwan, R.O.C. Tel:03-5716099 Ext.1208 E-mail:[EMAIL PROTECTED] - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "Tewen Hsieh" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 27, 2008 4:24 PM Subject: Re: multiple i

Re: multiple indexes

2008-06-27 Thread Dave Shield
2008/6/27 Tewen Hsieh <[EMAIL PROTECTED]>: > 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. That OID cannot be a valid instance of a MIB table. It would need to be of the form 1.3.6.1.4.1.7788.100.1.column.idx (assumi