Page 2 of 2
Re: MIB Integration error
Posted: Thu Aug 07, 2014 9:15 am
by aap
Thanks, I have uploaded the new mibs.php and reloaded the page however the same message appears when trying to process a mib
Failed to convert uploaded file to snmptt mib.. (rc: 13)
Re: MIB Integration error
Posted: Thu Aug 07, 2014 11:54 am
by lmiltchev
I was able to recreate the issue - got the same error, while trying to upload the FA.mib. We will have to do some more digging into this.
Re: MIB Integration error
Posted: Thu Aug 07, 2014 12:23 pm
by aap
Thank you very much. I'll wait to hear back from you.
Re: MIB Integration error
Posted: Thu Aug 07, 2014 1:24 pm
by lgroschen
So I think I figured this out messing with my XI install.
run this:
Code: Select all
ll /usr/share/snmp/mibs/processed_mibs/
If any of the processed_mibs files are owned by root root then apache will not be able to write to them. I also tested this with the raw FCMGMT-MIB.mib from a MIB website to make sure your MIB wasn't the issue. If you can set the file to apache apache (if it exists yet) and see if it will successfully import and process:
Code: Select all
cd /usr/share/snmp/mibs/processed_mibs/
chown apache.apache FA.txt
Also, make sure the entire processed_mibs folder is apache user and nagios group so they are written correctly. Then try the import (+ process)
/Luke
Re: MIB Integration error
Posted: Fri Aug 08, 2014 1:28 am
by aap
Thanks very much.
Works perfectly after changing the owner to apache and group to nagios on the processed mibs folder.
Total translations: 18
Successful translations: 18
Please feel free to close this one.