I may be wrong but it seems that you are downloading the MIB to the same directory, that you are trying to install the MIB to. Try removing the MIB from the web UI. Next, download the MIB to a different directory, for example "/tmp/" and run:
I will try your suggestion, however, can you help me with one thing. What is the addmib script doing?
1) Is it converting the MIBs to another format? If so, where is the location of the converted MIBs?
2) Is it adding the MIB name to a configuration file? If so, what is the name of that config file?
I deleted the MIB (rm CISCOTRAP-MIB.my) from the /usr/share/snmp/mibs folder and then ftp'd it to /usr/share/snmp/mibs/tmp, but same result with addmib command.
[root@cawlk tmp]# addmib ./CISCOTRAP-MIB.my
This file looks like it has been added already! Exiting.
Adding the MIB in the web UI will only put it in the "/usr/share/snmp/mibs/" directory.
Running the addmib command (for trap MIBs) needs to put it in the "processed_mibs" directory. If it is not there, but you are still getting the "This file looks like it has been added already! Exiting." message, there are probably some entries in the "/etc/snmp/snmptt.conf" or/and in the "/etc/snmp/snmptt.ini".
You can try removing these entries and rerunning addmib command.
Be sure to check out our Knowledgebase for helpful articles and solutions!