ZenDMD Tip - Test & Delete Overrides
From Zenoss Wiki
Revision as of 03:15, 31 October 2015 by Hackman238 $7
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.