RE: sysUpTimeInstance vs sysUpTime.0

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0BFF18AB@mailserver.metatv-ds.metatv.com>
> From: Peter Hicks [mailto:[email protected]] 
> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.