From anonymous, 4 Months ago, written in Python.
Embed
  1. #!/usr/bin/env python
  2. import Globals
  3. from Products.ZenUtils.ZenScriptBase import ZenScriptBase
  4. from transaction import commit
  5.  
  6. dmd = ZenScriptBase(connect=True).dmd