ZenDMD Tip - Remove all MIBS

From Zenoss Wiki
Revision as of 14:47, 13 March 2014 by Lbethancourt (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()