How can I add MIB to Icinga? Are there any configuration or settings I need to make under Icinga?

I tested using iReasoning MIB Browser. I wanted to know how I can import MIB files to Icinga.

  • What do you want to do? What is your goal? Querying a resource via SNMP? Quering Icinga (not! iCinga) via SNMP? – Sven Jun 25 '12 at 14:55

You don't need to import MIBs into Icinga in order to simply have Icinga plugins (via commands , via services) utilize OIDs. You should be querying specific OIDs that you want and nothing more.

If you're concerned with handling SNMP traps, Icinga doesn't handle SNMP traps directly.

If you set up a service, you can use snmptt to pipe stuff into the Icinga command pipe with the whatever contents of the trap you wish (as qualified by snmptt), and have a single passive service (in icinga) handle all the traps or several passive services handle different traps.

A bulk of this configuration is done with snmptt which actually does need the MIBs to understand the OIDs that are contained in the traps.

Trust me, it'll take you a bit to get a hang of the whole thing, but you will get a hang of it.


A full description of the Icinga configuration to receive SNMP Traps (including working with MIB files) here: Icinga & SNMP Traps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.