Page 1 of 1
MIB File Issues
Posted: Tue Jan 26, 2021 6:13 am
by joash0809
Hi Nagios Support,
I'm currently facing an issue where my uploaded MIB files are showing Unknown status and also the uploaded date is showing Unknown (Missing Database Entry).
MIB.PNG
, please refer to attachment. also attaching the file permission for these mibs.
MIB.PNG
.
Re: MIB File Issues
Posted: Tue Jan 26, 2021 4:48 pm
by benjaminsmith
Hi,
Thank you for the screenshots, the permissions do not look the same as my test system. Please run the following and let me know if the issue is corrected.
Code: Select all
chmod -R ug+rw /usr/share/snmp/mibs
chown -R root:nagios /usr/share/snmp/mibs
If not can you post an updated shot of the permissions?
Best Regards,
Benjamin
Re: MIB File Issues
Posted: Sat Feb 06, 2021 6:24 am
by joash0809
Hi,
Sorry for the late reply. I've done as requested but still showing the same. sending the updated permission as requested.
Re: MIB File Issues
Posted: Mon Feb 08, 2021 3:00 pm
by benjaminsmith
Hi joash0809,
I believe this is a bug. What version of Nagios XI are you currently using? Can you upload or PM MIB's from this system and I'll try to re-create this on my system?
Please run this command and send me the resulting /tmp/SNMPFILES.zip file:
Code: Select all
zip -r /tmp/SNMPFILES.zip /etc/snmp /usr/share/snmp/mib
Additonaly, please post the output to the following command. Thanks, Benjamin
Code: Select all
mysql -uroot -pnagiosxi nagiosxi --table -e "select * from xi_mibs;"