Thanks for the reply. 

I am seeing the error:
09:54:00 CSNMPRouterQuery::SetupOID -- error parsing "1.2.3.(Undefined:subid)" 
as an oid in com.dartware.abc (10.1.1.8).

--
Paul
PH: (402) 443-5174
cell: (402) 219-3783



On Aug 25, 2010, at 6:44 PM, William Fisher wrote:

> On 8/25/10 6:11 PM, Paul M. Hill wrote:
>> I am building a probe that successfully determines an Access Points active 
>> channel for an oid and stores the channel number as ActiveChannel.
>> 
>> The result, $ActiveChannel, is the index for the actual RF freq of the 
>> channel.
>> 
>> The freq is acquired using the oid 
>> 1.3.6.1.4.1.1234.1.40.2.8.1.2.channelNumber
>> 
>> I would like to simple use 1.3.6.1.4.1.1234.1.40.2.8.1.2.$ActiveChannel or 
>> maybe even 1.3.6.1.4.1.1234.1.40.2.8.1.2.$ActiveChannel+.
>> 
>> This does not work. I can think of a clumsy loop method but is there a 
>> better way to use a variable within an oid?
> Normally, InterMapper is going to put all the MIB variables in the first SNMP 
> request. This will prevent the second "conditional" OID from working.
> 
> You must set maxvars to a value that will force the second OID to be in a 
> separate SNMP request. OID's are placed in requests based on their order in 
> your <snmp-device-variables> section.
> 
> Here's an example of a probe that contains two variables, but the second OID 
> is dependent on the value returned by the first.
> 
>  maxvars = 1
>  ...
> 
>  subid, 1.2.3, INTEGER
>  dependent, 1.2.3.${subid}, DEFAULT
> 
> -- 
> Bill Fisher
> Dartware, LLC
> ____________________________________________________________________
> List archives: 
> http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
> To unsubscribe: send email to: [email protected]
> 
> 

____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to