Bug 640246 - 'HTTP Response Time' -> 'Collection Interval' not setting properly
Summary: 'HTTP Response Time' -> 'Collection Interval' not setting properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: CallTime
Version: 4.0.0
Hardware: All
OS: All
medium
medium vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: rhq4 gwt-scheduling
TreeView+ depends on / blocked
 
Reported: 2010-10-05 10:39 UTC by Rajan Timaniya
Modified: 2013-08-06 00:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:09:21 UTC


Attachments (Terms of Use)
screenshot (164.92 KB, image/png)
2010-10-05 10:39 UTC, Rajan Timaniya
no flags Details
server log (386.08 KB, text/x-log)
2010-10-05 10:42 UTC, Rajan Timaniya
no flags Details

Description Rajan Timaniya 2010-10-05 10:39:31 UTC
Created attachment 451635 [details]
screenshot

Description of problem:
'HTTP Response Time' -> 'Collection Interval' not setting properly. If user set 1-minute then its updated with 30-seconds and in case 50-minute then its update with 50-seconds.

QE environment:
RHEL - 5.5
Postgres 8.4.2
FF - 3.0.19

Version-Release number of selected component (if applicable):
RHQ-Master build #369
http://hudson-qe.rhq.rdu.redhat.com:8080/view/RHQ/job/ci-rhq-master/369/

How reproducible:
Always

Steps to Reproduce:
1) Install RHQ server and agent (configure Apache or Jboss As in agent box)
2) Log-in to RHQ
3) Navigate to Apache -> Vhost 
4) Go to 'Monitoring' -> 'Schedules' 
5) Set 'HTTP Response Time' -> 'Collection Interval' value = 1 Minute
6) Observe 'Metric Collection Schedules' for updated ' HTTP Response Time'
  
Actual results:
'HTTP Response Time' -> 'Collection Interval' not setting properly. If user set 1-minute then its updated with 30-seconds and in case 50-minute then its update with 50-seconds.

Expected results:
'HTTP Response Time' -> 'Collection Interval'  should update properly as user input.


Additional info:
Please refer attached screenshot and server log.

Comment 1 Rajan Timaniya 2010-10-05 10:42:23 UTC
Created attachment 451636 [details]
server log

Comment 2 Ian Springer 2011-02-15 17:15:28 UTC
The minimum collection interval is 30 seconds, so 1 minutes being translated to 30 seconds is correct. I'll try to add a specialized message in the GUI to make this clear.

As for 50 minutes being translated to 50 seconds, that sounds like a bug.

Comment 3 Ian Springer 2011-02-15 21:39:13 UTC
I modified it so that entering a value less than 30 when the selected units is "seconds" causes a validation error and disables the Set button (commit 4f5fd15 to master).

I was unable to reproduce entering a value of 50 minutes and the interval getting set to 50 seconds instead. Rajan, if you see that again, please reopen this issue and include very detailed reproduction steps.

Comment 4 Sunil Kondkar 2011-05-04 09:45:39 UTC
Verified on rhq4 release build (Version: 4.0.0 Build Number: db0c817)

Setting a value less than 30 sec displays a red circle and a hover message 'Must be atleast 30'. The Set button gets disabled.

a value of 50 minutes sets and displays 50 minutes.

Marking as verified.

Comment 5 Corey Welton 2011-05-24 01:09:21 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.