While using the Manage MIBs GUI, we're seeing an error "MIB could not be installed - directory permissions may be incorrect."
All MIBs within the listing are own by root and group root or nagios. I seem to recall this permissions issue happening after a past upgrade too, please advise on proper configuration so we can avoid these permission issues in the future.
Manage MIBs permissions issue
Manage MIBs permissions issue
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Manage MIBs permissions issue
Can you set ownership of the folder the mibs are stored in (usually /usr/share/snmp/mibs) to nagios.apache?
Also make sure the group has write permissions:
And see if that resolves things?
Code: Select all
chown nagios.apache /usr/share/snmp/mibs
Code: Select all
chmod 774 /usr/share/snmp/mibs
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Manage MIBs permissions issue
Yes, knew it to be a permissions issue. The concern is primarily why it changed after upgrade, we'll have to keep an eye on it next time. Will report back if it happens again.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Manage MIBs permissions issue
I wasn't able to replicate this when upgrading from 5.2.8 to 5.2.9, so there may have been an issue with a past version that was fixed recently.
Which versions were involved with this latest upgrade?
Which versions were involved with this latest upgrade?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Manage MIBs permissions issue
Development: 5.2.9
Test: 5.2.7
Production: 5.2.3
Permissions were the same across all servers. Perhaps related to a past upgrade.
Test: 5.2.7
Production: 5.2.3
Permissions were the same across all servers. Perhaps related to a past upgrade.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Manage MIBs permissions issue
It could be that an updated SNMP RPM package changed the permissions and not the Nagios upgrade script, maybe that could be it.
Be sure to check out our Knowledgebase for helpful articles and solutions!