Page 1 of 1

Need help with Nagios XI MIB upload

Posted: Wed Jun 10, 2020 10:59 am
by pawarssandeep
Hi Support Team,

We are trying to use MIB's to fetch information from the CISCO network devices to monitor hardware components present on the devices e.g. FAN
After searching on the internet we have found few MIBs that are in *.my format. If we upload it to nagios XI from "Manage MIBs" section. Does Nagios XI supports *.my format of MIBs or they will need to be converted into some format.?

Thanks,
Sandeep

Re: Need help with Nagios XI MIB upload

Posted: Wed Jun 10, 2020 5:14 pm
by ssax
.my files are fine. The name and extension of them doesn't matter at all, only the contents.

Just make sure you look in the file and make sure you have the other MIBs from the IMPORTS section so you have a complete MIB set.

Here's /usr/share/snmp/mibs/IF-MIB.txt for example (all of these are already on the system this is just an example):

IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, Counter64,
Integer32, TimeTicks, mib-2,
NOTIFICATION-TYPE FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString,
PhysAddress, TruthValue, RowStatus,
TimeStamp, AutonomousType, TestAndIncr FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
IANAifType FROM IANAifType-MIB;

Those bold ones are what that specific MIB file requires (IF-MIB) for it to be a complete MIB set.