Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

mib2c-update (1)

Name

mib2c-update - script to merge custom code into updated mib2c code

Synopsis

mib2c-update

Description

mib2c-update(1)                    Net-SNMP                    mib2c-update(1)



NAME
       mib2c-update - script to merge custom code into updated mib2c code

SYNOPSIS
       mib2c-update

DESCRIPTION
       Use  mib2c-update  to  generate  your mib2c code templates, and it will
       track the original code and the changes you make to the  code.  If  the
       mib2c template changes (bug fixes, enhances in later releases), re-run-
       ning mib2c will update the template and then attempt to  re-apply  your
       changes.

       This can be extremely useful when developing your own mib2c templates.

       When you first run mib2c-update, it will create several hidden directo-
       ries and a .mib2c-updaterc file. You must edit the .mib2c-udpaterc file
       to  specify  two  values.  The  first, UPDATE_OID, is the table name to
       specify when running mib2c. The second, UPDATE_CONF, is the mib2c  con-
       figuration file to specify when running mib2c.

       Additional mib2c options can be specified in UPDATE_MIB2C_OPTS.

BUGS
       mib2c-update  has  only  been tested on individual tables. Specifying a
       scalar or and entire MIB might not work.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------------+
       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE          |
       +---------------+---------------------------------+
       |Availability   | system/management/snmp/net-snmp |
       +---------------+---------------------------------+
       |Stability      | Volatile                        |
       +---------------+---------------------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded   from    https://sourceforge.net/projects/net-
       snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.net-snmp.org/.



V5.8                              07 Apr 2010                  mib2c-update(1)