Dave Shield wrote:
> 2009/5/7 Peter Hicks :
>
>> What I did was to check for an instance in the returned VarBind, and if
>> there's no instance, convert the OID to numeric format, lop off the last
>> element (in this case, "0") and use that as the instance, then convert
>> the OID back to text.
>
2009/5/7 Peter Hicks :
> What I did was to check for an instance in the returned VarBind, and if
> there's no instance, convert the OID to numeric format, lop off the last
> element (in this case, "0") and use that as the instance, then convert
> the OID back to text.
Another possibility would be
Mike Ayers wrote:
>> From: Peter Hicks [mailto:peter.hi...@poggs.co.uk]
>> Sent: Thursday, May 07, 2009 5:53 AM
>
>> DISMAN-EVENT-MIB defines sysUpTime.0 as sysUpTimeInstance,
>> which appears to confuse SNMP.pm, returning a VarBind without
>> an instance...
>>
>> [snip]
>>
>> Is this inten
> From: Peter Hicks [mailto:peter.hi...@poggs.co.uk]
> Sent: Thursday, May 07, 2009 5:53 AM
> DISMAN-EVENT-MIB defines sysUpTime.0 as sysUpTimeInstance,
> which appears
> to confuse SNMP.pm, returning a VarBind without an instance:
>
> $VAR1 = bless( [
> 'sysUpTimeInstance',
>