Page 2 of 2
Re: Uploading MIB's after Nagios Update to 5.8.1
Posted: Thu Mar 04, 2021 4:48 pm
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
Re: Uploading MIB's after Nagios Update to 5.8.1
Posted: Tue Apr 06, 2021 10:33 am
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.
Re: Uploading MIB's after Nagios Update to 5.8.1
Posted: Tue Apr 06, 2021 1:28 pm
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
Re: Uploading MIB's after Nagios Update to 5.8.1
Posted: Wed May 19, 2021 2:25 pm
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.
Re: Uploading MIB's after Nagios Update to 5.8.1
Posted: Thu May 20, 2021 10:26 am
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]