Re: Query on writing new mib modules for netsnmp

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/7/23 Sathish Chandrasekaran <[email protected]>:
>     Would appreciate any example code/ reference   with some
> handlers as I need to invoke some function call specific to the product on
> setting of parameters like ipaddress.

There are dozens of examples of handler-based MIB modules,
under 'agent/mibgroup' in the project source.   Look through
those for something suitable.

  The command
       find agent/mibgroup -name \*.c | xargs grep -l register_scalar

              will list the modules that include scalar objects.

Dave

------------------------------------------------------------------------------
_______________________________________________
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.