Add .mib File to checkmk

CMK version: 2.1.0p18
OS version: Ubuntu 22.04

Hello,
I have received a .mib file for OIDs for SNMP from my manufacturer. Can I somehow import and use this for my device?

Many greetings in advance :slight_smile:

Hi nlmyr,

there is no automatic way to import mibs into checkmk and that magically converts that to a check.
There are two ways to use mibs in checkmk :

  1. If there is currently no checkmk or community check for the device you are trying to monitor, the MIB file can be used as the foundation to develop a new check in python
  2. You can import the mib to the mkeventd to translate sent snmp traps for you
1 Like

Ok thanks for the answer. How can I use the mkeventd?

Hi,

using SNMP Traps has a lot of disadvantages, i would always prefer to use state based monitoring, if possible.

This is the Event Console documentation for receiving SNMP Traps:

Is that a special kind of hardware ? Maybe there is already a check for what you are trying to monitor.

Ah ok. Then not. But i cant use python files on that machine.

The check is developed on the checkmk server side and is fetching the data with SNMP.

Ah nice. Do you have a doc for that? So I can read through that and create these checks?

The documentation is here:

1 Like

Am I not able to only copy my .mib-File to that folder.

  • Go to “Setup > Event Console”
  • In the top menue, click on “Event Console”
  • In the submenue, click “SNMP MIBs”

There you can “Add one or multiple MIBs”. checkmk will then render the OID-numbers received through SNMP-traps into meaningful text.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.