> 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',
>                  '',
>                  '139192193',
>                  'TICKS'
>                ], 'SNMP::Varbind' );
> 
> Is this intended behaviour?  How should I work around it in an 
> application which assumes that requesting OID 'sysUpTime' and 
> instance 0 
> will return the same OID and instance in the returned VarBind?

        Use numerical OIDs - they will always match.


        HTH,

Mike

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to