Bug 534588 (RHQ-1370)

Summary: the agents need to get updated metric schedules properly
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: AgentAssignee: John Mazzitelli <mazz>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: dajohnso
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1370
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Mazzitelli 2009-01-16 17:10:00 UTC
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.

Comment 1 John Mazzitelli 2009-01-16 22:33:22 UTC
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.

Comment 2 Jeff Weiss 2009-02-04 19:00:01 UTC
<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

Comment 3 Red Hat Bugzilla 2009-11-10 20:31:31 UTC
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