Created
September 17, 2012 17:29
-
-
Save daniel-garcia/3738635 to your computer and use it in GitHub Desktop.
print zenoss transforms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "The following event classes have transforms associated with them:" | |
for ec in [ ec for ec in dmd.Events.getSubOrganizers() if ec.transform ]: | |
print ec.getOrganizerName() | |
print ec.transform | |
print 'X'*80 | |
print "The following event classes have mappings with transforms associated with them:" | |
for event in dmd.Events.getInstances(): | |
if event.transform: | |
print event.getEventClass() | |
print event.transform | |
print 'X'*80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment