Difference between revisions of "ZenDMD Tip - Audit Transforms"

From Zenoss Wiki
Jump to: navigation, search
m
 
Line 9: Line 9:
 
         print '-'*80
 
         print '-'*80
 
</syntaxhighlight>
 
</syntaxhighlight>
 
 
Best,
 
--Shane  (Hackman238)
 
  
 
[[Category:Tips]]
 
[[Category:Tips]]
 
[[Category:ZenDMD]]
 
[[Category:ZenDMD]]

Latest revision as of 14:22, 20 November 2013

su zenoss, then zendmd

print "The following event classes have transforms associated with them:"
for eventClass in dmd.Events.getSubOrganizers():
    if eventClass.transform:
        print eventClass.getOrganizerName()
        print eventClass.transform
        print '-'*80