Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

SNMP MIB Upload Problems in Nagios – How to fix

by | Apr 25, 2021

SNMP MIB Upload Problems in Nagios can arise when uploading SNMP MIB files.

As part of our Server Management Services, we assist our customers with several Nagios queries.

Today, let us see how we can resolve SNMP MIB Upload Problems in Nagios.

 

How to fix SNMP MIB Upload Problems in Nagios

Moving ahead, let us see effective methods our Support Techs employ in order to fix these issues.

1. Permissions

At times, incorrect permissions on the SNMP MIB files may cause the problem.

Suppose, we receive one of the following errors:

failed to convert to snmptt mib

MIB could not be installed – directory permissions may be incorrect.

Then we execute the following commands to reset the permissions and ownership:

chmod -R ug+rw /usr/share/snmp/mibs
chown -R root:nagios /usr/share/snmp/mibs

Once we execute those commands, we will be able to upload the MIB file that previously did not work.

2. Modules Missing

If we upload a MIB to Nagios XI and the required modules are missing, we may notice warnings when we execute Net-SNMP commands in a terminal session.

For example, after uploading the MIB CISCO-IMAGE-MIB.my file, we receive these warnings when using the snmpwalk command:

MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (CISCO-SMI): At line 24 in /usr/share/snmp/mibs/CISCO-IMAGE-MIB.my
Did not find ‘ciscoMgmt’ in module #-1 (/usr/share/snmp/mibs/CISCO-IMAGE-MIB.my)
Unlinked OID in CISCO-IMAGE-MIB: ciscoImageMIB ::= { ciscoMgmt 25 }
Undefined identifier: ciscoMgmt near line 27 of /usr/share/snmp/mibs/CISCO-IMAGE-MIB.my

Here, it appears the CISCO-SMI module is missing.

However, if we upload the MIB CISCO-SMI.my file, we will not receive the warnings.

This is because the Net-SNMP commands look at all the MIB files in the /usr/share/snmp/mibs/ folder when executing. If the commands fail to find any modules, they will display the warnings.

We do not often see these warnings in the Nagios XI interface, as this output is hidden. Generally, we see the warnings in a terminal session.

It is not with the filename “CISCO-SMI.my” the Net-SNMP knows that the module is located in this file. The below line in the file defines it:

CISCO-SMI DEFINITIONS ::= BEGIN

The filename  “CISCO-SMI.my” is irrelevant. However, Cisco has made it easy by keeping the filename the same as the module definition name.

[Need help with the procedure? We are available 24*7]

 

Conclusion

In short, the SNMP MIB Upload Problems can arise while uploading SNMP MIB files. Today, we saw how our Support Techs fix these issues.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF