Uploading MIB's after Nagios Update to 5.8.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Uploading MIB's after Nagios Update to 5.8.1

Post by benjaminsmith »

Hi,

Just following up from yesterday. It is in development right now and should have more information as we get closer to the next maintenance release.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
amoss24
Posts: 31
Joined: Thu Dec 17, 2020 1:19 pm

Re: Uploading MIB's after Nagios Update to 5.8.1

Post by amoss24 »

Thank you @benjaminsmith

I think see something in the 5.8.3 release notes:
Fixed issues with MIB integration after upgrading to SNMPTT 1.4.2
I'll see if we can upgrade soon and check if the issue is resolved.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Uploading MIB's after Nagios Update to 5.8.1

Post by benjaminsmith »

Hi,
I'll see if we can upgrade soon and check if the issue is resolved.
Sounds good. I usually recommend the manual upgrade. Step-by-step instructions are found on page 2 of the guide below. Let us know if you need any assistance.

https://assets.nagios.com/downloads/nag ... ctions.pdf

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
amoss24
Posts: 31
Joined: Thu Dec 17, 2020 1:19 pm

Re: Uploading MIB's after Nagios Update to 5.8.1

Post by amoss24 »

Hi @benjaminsmith,

Realized I had never replied to this thread.

We are on XI 5.8.3 currently - I tested uploading a MIB file through the web interface today and it is still creating the lines that say "Missing database entry".

Let me know if some additional info would be of any help.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Uploading MIB's after Nagios Update to 5.8.1

Post by ssax »

EDIT 2: The fix in XI 5.8.3 was unrelated to the bug from this forum post, the one I submitted hasn't been fixed as of yet, the bug report is still open.


I was able to replicate this when I have duplicate MIB files in /usr/share/snmp/mibs, for example one with a .mib extension and one with a .txt extension. Do you have duplicates listed in yours?

Please run this command as root and send me the resulting /tmp/SNMPFILES.tar.gz file:

Code: Select all

GZIP=-9 tar czvf /tmp/SNMPFILES.tar.gz /etc/snmp /usr/share/snmp/mibs
EDIT: I noticed if I delete the duplicate in Admin > Manage MIBs it fixes it.

EDIT: Attach a fresh screenshot of the ones showing as well.[/s]
Locked