Description of problem: If you change Collection Intervals on the Metric Template (specifically for DataSources) and check the box "Update schedules for existing resources of marked type", it will update the values on the existing resources but nothing will collect at those intervals unless you manually update them on each resource's schedules tab Version-Release number of selected component (if applicable): 2.4
(10:02:35 AM) ccrouch: dsteigner: can you please elaborate on https://bugzilla.redhat.com/show_bug.cgi?id=642641 (10:02:35 AM) ccrouch: you say in the description that the update works, but then that it doesn't work? (10:04:11 AM) dsteigner: ccrouch, doing it from the template updates the values on the individual resources, but it doesn't start collecting at those changed intervals (10:04:37 AM) dsteigner: ccrouch-phone, until you actually change the value on each resource (10:05:15 AM) mazz: I didn't see that behavior dsteigner - although I did restart my agents (10:05:18 AM) mazz: its possible the sync isn't working (10:05:28 AM) ccrouch: dsteigner: so it just looks like it works (10:05:35 AM) dsteigner: dsteigner, i didn't restart my agent (10:05:37 AM) mazz: you changing the values on each resource probably worked because it changed the mtime on the resource which triggered a sync (10:06:05 AM) dsteigner: ccrouch-phone, correct (10:06:06 AM) mazz: we restarting the agent (but not changing each resource's value) (10:06:09 AM) mazz: also triggers a sync (10:06:29 AM) mazz: /we/me/
Filip Please take a look at this and see if you can reproduce. This should be fixed in the release3 branch, but will also need to be fixed in Master. Lets target release3 (JON2.4.1) first.
commit 76f3d0dcaa6cad7c2491b86f2fd537a98ba56eaf in release-3.0 branch
commit 1bb8940ecd24eb3946d502fc84e6b648af72ffbb in master branch
Hi Filip, Can you please provide steps to test the bug?
Repro steps: 1) Go to admin->settings->templates change Collection Intervals on the Metric Template (specifically for DataSources) and check the box "Update schedules for existing resources of marked type 2) Check on each resource of selected type that the metrics are collected in the right intervals and that it reports the right values.
Verified on Jon241 build#38 Navigated to 'Administration->System Configuration->Templates and changed the collection interval on metric template for resources of type 'Datasource' from 10 minutes to 30 seconds. Checked the checkbox "Update schedules for existing resources of marked type". Navigated to the resource JboassAs Server->Resources->Datasource->NoTxRHQDS and JboassAs Server->Resources->Datasource->RHQDS. Verified that the collection interval in changed from 10 minutes to 30 seconds in 'Schedules' tab and the metrics are collected at the correct interval of 30 seconds.
Bookkeeping - closing bug - fixed in recent release.