Red Hat Bugzilla – Bug 534363
totalMemory platform metric should be trait, or at least not collected alot
Last modified: 2011-05-23 21:17:29 EDT
I noticed that my "total memory" metric for my platform is collected every 2 minutes.
This seems like it should be a trait - since this will only ever change if someone adds more physical memory to the system.
At the very least, we should not be collecting this every 2 minutes. Every 10 mins or maybe 60 minutes.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1167
mass add of key word FutureFeature to help track
Moved to ONQA for further examination. For this issue, we just need to find what the current setting is, assign it back, and link to bug #535003
Tessted on RHQ build#446
The current setting for 'Total Memory' metric for platform is:
Type = Measurement
Collection Interval = 2 Minutes
Please refer the attached screenshot.
Moving this to ON_DEV as per 'comment 3' and linking this bug to bug #535003.
Created attachment 455441 [details]
to the Total Memory and Total Swap Space metrics so they are now collected every 20m, as opposed to every 2m.
Created attachment 496257 [details]
Screenshot of collection interval in RHQ4 RC1
this screenshot shows 2 minutes, not the expected 20 minute
I just confirmed it working correctly on my install of the 4.0.0 release candidate.
Mike - I think this is "broke" for you because you are testing an upgrade from 3.0.0 where the default was still 2m. We don't override defaults on existing resources even after upgrading to a new plugin with a new default.
you'll have to test this from a fresh install (non-upgrade) - when I did this, I see the default as 20m.
ah .... thx. will retest.
Bookkeeping - closing bug - fixed in recent release.