Thanks Christoph,

I was able to get rid of bad MIB without re-initializing the MIB db.

These are the steps I tool on Linux system.

1.       Close Mib tools if running.

2.       From mysql\bin directory
./mysql --defaults-file=../my-spectrum.cnf -uroot -proot mibtools

mysql> select MIB_Name from mibs;

mysql> delete from mibs where MIB_Name="<mib-to-be-DELETED>";

thanks,

Saurabh Bohra
O: 860-766-0842  |  M: 860-385-3597  |  e-mail: [email protected]

From: Keßler, Christoph [mailto:[email protected]]
Sent: Thursday, March 21, 2013 9:55 AM
To: spectrum
Subject: AW: [spectrum] Remove MIB without re-initializing

Hi,

you can edit the mib database directly with mysql:

The database contains of three tables:

·         mibObjectDescr              (OIDs)

·         mibTraps                            (Traps)

·         mibs                                     (MIB Names)

You can delete the entries in these tables, which contains to a MIB you want to 
remove from mibtools.
I think CA will not support these steps, but I did this in the past and my 
Spectrum is still running :)

Regards,

Von: Bohra, Saurabh [mailto:[email protected]]
Gesendet: Donnerstag, 21. März 2013 14:44
An: spectrum
Betreff: [spectrum] Remove MIB without re-initializing

Hello all,

I want to remove just one MIB from MIB database as this was a bad MIB and would 
not let me import the new one.. The MIB was not used for any model type 
creation and hence I cannot use db_remove utility.

I tried removing the MIB from $SPECROOT/Mibdatabase and then used 
BulkMibCompile, however the MIB still exists.

Any ideas how to get rid of this MIB without re-initializing the entire 
Mibdatabase?

Thanks,

Saurabh Bohra
Sr. Network Mgmt Systems Analyst
ESPN Inc.
O: 860-766-0842  |  M: 860-385-3597  |  e-mail: 
[email protected]<mailto:[email protected]>


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

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

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

Reply via email to