Manage MIBs permissions issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Manage MIBs permissions issue

Post by TBT »

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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Manage MIBs permissions issue

Post by mcapra »

Can you set ownership of the folder the mibs are stored in (usually /usr/share/snmp/mibs) to nagios.apache?

Code: Select all

chown nagios.apache /usr/share/snmp/mibs
Also make sure the group has write permissions:

Code: Select all

chmod 774 /usr/share/snmp/mibs
And see if that resolves things?
Former Nagios employee
https://www.mcapra.com/
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Manage MIBs permissions issue

Post by TBT »

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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Manage MIBs permissions issue

Post by mcapra »

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?
Former Nagios employee
https://www.mcapra.com/
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Manage MIBs permissions issue

Post by TBT »

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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Manage MIBs permissions issue

Post by tgriep »

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!
Locked