Professional Documents
Culture Documents
OpenNMS - mib2openNMS v1.0
OpenNMS - mib2openNMS v1.0
For
Ops Team KL
Title:
Document
Type:
Contents
1.
mib2opennms Howto....................................................................................... 3
1.1
1.2
Recommendations.....................................................................................3
2.
How to use...................................................................................................... 4
2.1
Title:
Document
Type:
1. mib2opennms Howto
This little document provides an explanation of how to import SNMP
MIBs into OpenNMS, using the open source tool 'mib2opennms'. In
reality we don't import the whole MIB, we just take out the trap
definitions (if there are some) from the MIB and add them as events to
OpenNMS.
enterprise
event
generic:0 specific:0). 0
1.2 Recommendations
If you intend to use mib2opennms, it is highly recommended you
install net-snmp as chances are high that the MIB(s) you intend
to import are dependent on something contained within the base
set of MIBS provided by net-snmp. Without net-snmp,
mib2opennms may not be able to translate your MIBs, and may
not provide very useful information as to why.
NOTE: If you're using Ubuntu server, the package "net-snmp" no
longer exists in the standard repositories, you will need to get the
"snmp-mibs-downloader" package. This package puts the MIBs in
/var/lib/mibs/ietf by default.
Title:
Document
Type:
2. How to use
2.1 Single MIB file
1. Convert a single mib file and set the value for generic to 6 with
mib2opennms -6 mibfile.mib >mibfile.events.xml