ZenDMD Tip - Test & Delete Overrides
From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
As the zenoss user on the ZenMaster, zendmd.
for d in dmd.Devices.getSubOrganizers(): if d.getOverriddenObjects('zDeviceTemplates'): d.id
for d in dmd.Devices.getSubDevices(): if d.getOverriddenObjects('zDeviceTemplates'): d.id
To remove the property, use the 'deleteZenProperty' method as follows:
Change out the 'zDeviceTemplates' in the examples to the property you need to work with.