AutoPatrol, Bureaucrats, Administrators
481
edits
Lukas Rypl (talk | contribs) (Basic linux centric description) |
m (Text replacement - "^" to "{{deprecated}}") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== What are MIBs good for == | {{deprecated}}== What are MIBs good for == | ||
MIB files (MIBs) describe structure of information transferred via SNMP. Every device can support multiple MIBs, some of them are standard and public, other can be proprietary and vendor specific. | MIB files (MIBs) describe structure of information transferred via SNMP. Every device can support multiple MIBs, some of them are standard and public, other can be proprietary and vendor specific. | ||
Line 14: | Line 14: | ||
# Use nxmibc binary to create a new compiled MIB file from all MIBs in directory. Add parameter -z for compressed output file. | # Use nxmibc binary to create a new compiled MIB file from all MIBs in directory. Add parameter -z for compressed output file. | ||
<pre> nxmibc -d /usr/share/netxms/mibs -o /usr/share/netxms/mibs/netxms.mib</pre> | <pre> nxmibc -d /usr/share/netxms/mibs -o /usr/share/netxms/mibs/netxms.mib</pre> | ||
<pre> C:\NetXMS\bin\nxmibc.exe -z -d C:\NetXMS\share\mibs -o C:\NetXMS\var\netxms.mib</pre> | |||
Parameters recognized by nxmibc: | Parameters recognized by nxmibc: | ||
Line 25: | Line 26: | ||
-s : Strip descriptions from MIB objects | -s : Strip descriptions from MIB objects | ||
-z : Compress output file | -z : Compress output file | ||
</pre> | |||
If you are using debian packages as installation source (NetXMS apt repo), you should run this: | |||
<pre> | |||
nxmibc -d /usr/share/netxms/mibs -o /var/lib/netxms/netxms.mib -z | |||
</pre> | </pre> | ||