Christian_Schneider wrote:
The only way would be to load an older DB with SSdbload -c <savefile.SSdb>
I persevered with support and they eventually relented and provided a way to do this without reverting to an older db :-)
How to remove model types for mibs imported using MibTools.
We have an undocumented and unsupported method of removing imported mibs from the SSdb catalog. We recommend that you first save your SSdb catalog and try to perform these steps first on a test server.
When a mib is imported and added to the SSdb catalog through mibtools a new model is created under SNMP_MIBS that can be seen from Model Type Editor (MTE). So with the SpectroSERVER stopped and MTE running you can filter by SNMP_ and you'll see that under SNMP_MIBS folder you can see all imported mibs that are added to the catalog. Each time a mib is imported it could be seen as a child under SNMP_MIBS and mapped attributes will be created under this new model. For the mibs that are added and that you would like to remove please make a note of the Model_Type ID.
These model type ids that should be removed are then added to a text file and separated by blank spaces, once this has been complete you can remove these model types with the following command run in the $SPECROOT/SS directory
$SPECROOT/SS-Tools/db_remove <file name>
Where the file name is the name of the file of the model list you would like to remove.
NOTE 1 I found that adding model type ids separated by a space didn't work and only removed the first entry. Putting the model type ids on separate lines worked instead.
NOTE 2 You could also find the model type ids using CLI if you don't have MTE. Use the command "show inheritance mth=0x10464" - 0x10464 is the mth for SNMP_MIB. All derived model types with handles starting 0xfff are what you need.
NOTE 3 I did ask what they meant by unsupported. The reply was "Unsupported means that it hasn't been tested by QA and as such we do have not have official procedure on this"
.