ZenDMD Tip - Remove all MIBS

From Zenoss Wiki
Revision as of 17:16, 5 May 2014 by Hydruid (Talk | contribs)$7

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To remove all MIBS from the database, su zenoss and zendmd. Run the following.

mibs = dmd.Mibs.mibs.objectIds()
 
for m in mibs:
 dmd.Mibs.mibs._delObject(m)
 
commit()