http://jira.hyperic.com/browse/HHQ-3547
Current behavior of the USERMANAGED flag on Resource Configuration controls if auto-discovered values are allowed to overwrite manually updated values. Once a manual update is made to a resource, this flag is set to true and no auto-discovered values are allowed to overwrite. As long as no manual update is made, this flag defaults to false and changes are allowed through auto-discovery. Once a manual change is made and USERMANAGED is set to true, there is no (supported) way to unset the flag. One must delete the resource and re-add it to Inventory.
This behavior should be optional. If someone is using an agent.properties override for a configuration value, and the resource is manually updated and the USERMANAGED flag is set to true, the value can no longer be overridden by agent.properties. There are use cases that call for agent.properties to always win, but that isn't possible with the current behavior. Users should be able to decide if a manual update overrides an auto-discovered value. Perhaps via a flag on the resource config that allows for control of the USERMANAGED value (switch it from true to false). Or a more global way to decide if auto-discovered or manual changes win.
Anonymous