Bug 534363 (RHQ-1167) - totalMemory platform metric should be trait, or at least not collected alot
Summary: totalMemory platform metric should be trait, or at least not collected alot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-1167
Product: RHQ Project
Classification: Other
Component: Plugins
Version: unspecified
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On: RHQ-1744
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-22 20:00 UTC by John Mazzitelli
Modified: 2011-05-24 01:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Screenshot (131.95 KB, image/png)
2010-10-25 09:13 UTC, Sunil Kondkar
no flags Details
Screenshot of collection interval in RHQ4 RC1 (95.26 KB, image/png)
2011-05-02 13:20 UTC, Mike Foley
no flags Details

Description John Mazzitelli 2008-11-22 20:00:00 UTC
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.

Comment 1 Red Hat Bugzilla 2009-11-10 20:27:11 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1167


Comment 2 wes hayutin 2010-02-16 17:10:22 UTC
mass add of key word FutureFeature to help track

Comment 3 Corey Welton 2010-08-18 15:07:52 UTC
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

Comment 4 Sunil Kondkar 2010-10-25 09:11:44 UTC
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.

Comment 5 Sunil Kondkar 2010-10-25 09:13:35 UTC
Created attachment 455441 [details]
Screenshot

Comment 6 John Mazzitelli 2011-02-16 14:47:33 UTC
git 21fe21c68b7cc5b2f7af3278d15dc2a4ef5ae584

added:

defaultInterval="1200000"

to the Total Memory and Total Swap Space metrics so they are now collected every 20m, as opposed to every 2m.

Comment 7 Mike Foley 2011-05-02 13:20:21 UTC
Created attachment 496257 [details]
Screenshot of collection interval in RHQ4 RC1

this screenshot shows 2 minutes, not the expected 20 minute

Comment 8 John Mazzitelli 2011-05-02 13:32:21 UTC
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.

Comment 9 Mike Foley 2011-05-02 13:49:47 UTC
ah ....  thx.  will retest.

Comment 10 Corey Welton 2011-05-24 01:17:27 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 11 Corey Welton 2011-05-24 01:17:27 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 12 Corey Welton 2011-05-24 01:17:27 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 13 Corey Welton 2011-05-24 01:17:29 UTC
Bookkeeping - closing bug - fixed in recent release.


Note You need to log in before you can comment on or make changes to this bug.