Red Hat Bugzilla – Bug 534588
the agents need to get updated metric schedules properly
Last modified: 2014-11-09 17:48:21 EST
The agents used to get their schedules updated during plugin deployment at server-start up time. We took that out (see associated JIRAs). We need to provide a better way to update the schedules on the agents.
discussions with ian, greg, jay resulted in the following:
we will modify the MTime of all resources that got new schedules added or got old scheduled removed due to new plugins getting deployed that added/removed metric definitions.
This change in mtime tells the agent that the resource needs to be synced. The agent code will remain the same - it will perform the sync code at the appropriate times.
<mazz> jweiss: well, that was more internals, but, if you change a collection interval while an agent is down and restart the agent, make sure the new agent gets the new schedule properly
Tested as specified above. rev2898
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1370
This bug is related to RHQ-916
This bug is related to RHQ-1326