Xavier,

> I would like to know if it's possible to use string correspondence of an
> INTEGER OID value in an ondemand Table ?
> 
> For example, the use of the two last followed lines are impossible:
> <snmp-device-variables-ondemand>
>    HrSWRun,                            1.3.6.1.2.1.25.4.2.1,TABLE
>    HrSWRun/hrSWRunIndex,               HrSWRun.1, INTEGER
>    HrSWRun/hrSWRunName,                HrSWRun.2, OctetString
>    HrSWRun/hrSWRunPath,                HrSWRun.4, OctetString
>    HrSWRun/hrSWRunParameters,          HrSWRun.5, OctetString
> --    HrSWRun/hrSWRunType,              HrSWRun.6, INTEGER { unknown(1), 
> operatingSystem(2), deviceDriver(3), application(4) }
> --    HrSWRun/hrSWRunStatus,            HrSWRun.7, INTEGER { running(1), 
> runnable(2), notRunnable(3), invalid(4) }
> </snmp-device-variables-ondemand>
> 
> Is there another way to do such things ?

Yes! You can define the variable type as STRING, and InterMapper will look into 
the MIB for the enumerated value (the string) that corresponds to the numeric 
value. See:

http://download.intermapper.com/docs/DevGuide/Content/02-CustomProbes/Probe_Variables.htm
 

and 

http://download.intermapper.com/docs/DevGuide/Content/02-CustomProbes/OnDemandTables.htm

Thanks.

Rich Brown                    [email protected]
Dartware, LLC                 http://www.intermapper.com
66-7 Benning Street           Telephone: 603-643-9600
West Lebanon, NH 03784-3407   Fax: 
603-643-2289.+-j·!Š÷¬†Ûiÿü0Âf¢•ªÜ†+Þr‰¿Š{^®f©¥êíjY8ÒX¬µÖ«·«yÊ&ý:.žË›±Êâmë×¦j)m ‰íz³¦—«M©d¡÷åŠË]j»pj·œ¢

Reply via email to