Hi list,

AFAIK when you import a MIB with the MIB Tools the new MIB modeltype is derived 
from

SNMP_MIBS (0x10464) and the new modeltype get´s the default developer ID.

$ show inheritance mth=0x10464

Handle Name Flags Inheritance

0x10000 Root V,D Base

0xfff00001 RAD-MIB V,D Derived

 

Then paste the MTH from the imported MIB you want to delete from the SSdb in a 
file

 

$ echo "0xfff00001" > rmmth

 

Then stop the SpectroServer, after that

 

$ ../SS-Tools/db_remove rmmth

 

Then the imported MIBs´s are removed from the SSdb. 

 

$ show inheritance mth=0x10464

Handle Name Flags Inheritance

0x10000 Root V,D Base

 

Kind regards

Torsten Syring

DICOS GmbH Kommunikationssysteme
Alsfelder Strasse 11
64289 Darmstadt

Tel.: +49 6151 82787 30
Mobil: +49 170 3175916
Fax: +49 6151 82787 59

http://www.dicos.de

DICOS GmbH Kommunikationssysteme, Alsfelder Strasse 11, 64289 Darmstadt
Sitz der Gesellschaft: Darmstadt, Amtsgericht Darmstadt HRB 7024,
Geschäftsführer: Dr. Winfried Geyer, Stephan Hesse, Waldemar Wiesner

 

 

 

Von: 

"Kupershmidt, Oleg" <[email protected]>

Absender in den Kontakten speichern

An: 

"spectrum" <[email protected]>

Here is a correction from our development team:

 

You cannot use MTE to remove the attributes imported via MIB Tools unless you 
have the associated Developer ID loaded into your Database catalog.  The 
Developer ID in this case is owned by CA.  It is correct though that it does 
not cause additional memory usage, but may undoubtedly cause confusion.  So, 
today, there is currently no way to do this.

 

You can, however, remove trap mappings very easily by using MIB Tools.

 

We are tracking this requirement and if anyone other than Gasper is interested 
in this feature, please let me know you company name.

 

Thank you,

Oleg Kupershmidt

Product Manager for Spectrum 

 

From: Thomas Kloeber [mailto:[email protected]] 
Sent: Monday, March 01, 2010 4:54 AM
To: spectrum
Subject: Re: [spectrum] How to remove MIB

 

Gašper Krajnik wrote on 01.03.2010 10:43: 

I have a question about removing custom imported MIB to Spectrum 9.1.2. We 
import custom MIB, but after that we found out, that this device was already 
certified, so we have doubled attributes and events. Now we would like to 
remove this MIB we imported. Do someone knows, how to do that?

you need the MTE for that and simply remove the modeltype(s) which hold the 
attributes of the MIB.
To remove a modeltype just remove all its base modeltypes and it will be gone.

Note: it doesn't really matter if you have the attributes multiple times in 
your catalogue. Attributes will only be loaded into memory if they are used. 
But of course it is confusing...

Thomas

-- 

Intelligent Communication Software Vertriebs GmbH

Firmensitz: Kistlerhof Str. 111, 81379 München

Registergericht: Amtsgericht München, HRB 88283

Geschäftsführer: Albert Fuss

 

 

 


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to