Re: Compatibility for Different version of Net SNMP

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/16 sanjaykumar <[email protected]>:
> I have another question regarding the mib implementation:
> As mib2c generate code for both UCD and netsnmp version.
> What is advantage of one above other ?
> When we should use UCD based code  and when net snmp for Enterprise MIB
> implantation  ?
> Which one we should follow for better compatibility ?

If you are writing new module code, then I'd suggest you use the helper-based
v5 approach.   It's not really sensible to develop new modules using the
old UCD style.   That's really just there for backward compatability with
pre-existing modules.

The newer approach is more efficient (since the v4 style is now built on top
of it), more flexible (with several helpers to do much of the work for you),
and can process multiple varbinds in one go (rather than handling each
one individually).
   There are also known (and inherent) problems with the old-style mib2c
config template.

If you've got existing code that uses this style, then it's fine to
keep with it.
But any new code should be written using handlers instead.

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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.