1mib2c-update(1) Net-SNMP mib2c-update(1)
2
3
4
6 mib2c-update - script to merge custom code into updated mib2c code
7
9 mib2c-update
10
12 Use mib2c-update to generate your mib2c code templates, and it will
13 track the original code and the changes you make to the code. If the
14 mib2c template changes (bug fixes, enhances in later releases), re-run‐
15 ning mib2c will update the template and then attempt to re-apply your
16 changes.
17
18 This can be extremely useful when developing your own mib2c templates.
19
20 When you first run mib2c-update, it will create several hidden directo‐
21 ries and a .mib2c-updaterc file. You must edit the .mib2c-udpaterc file
22 to specify two values. The first, UPDATE_OID, is the table name to
23 specify when running mib2c. The second, UPDATE_CONF, is the mib2c con‐
24 figuration file to specify when running mib2c.
25
26 Additional mib2c options can be specified in UPDATE_MIB2C_OPTS.
27
29 mib2c-update has only been tested on individual tables. Specifying a
30 scalar or and entire MIB might not work.
31
32
33
34V5.9.3 07 Apr 2010 mib2c-update(1)