Bug 736710

Summary: If we set condition type as 'Number of Commands Received Successfully' or 'Number of Commands Successfully Sent' alerts are not working
Product: [Other] RHQ Project Reporter: Jeeva Kandasamy <jkandasa>
Component: AlertsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: hrupp, mazz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-09 11:49:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
db screen shot
none
server log file none

Description Jeeva Kandasamy 2011-09-08 13:27:25 UTC
Created attachment 522120 [details]
db screen shot

Description of problem:
Alert definitions are not working for 'Number of Commands Received Successfully' and 'Number of Commands Successfully Sent'.

Version-Release number of selected component (if applicable):
JON 3.0.0 Beta1-7

Steps to Reproduce:
1. Navigate to alert definition creation page for the resource 'RHQ Agent'
2. Create a alert definition like 'Metric Value Threshold [Number of Commands Received Successfully > 0.0]' (or) 'Metric Value Threshold [Number of Commands Successfully Sent > 0.0]'
3.The above alerts are never get trigger, even thought if it meets the condition
  
Actual results:
alerts are never get trigger

Expected results:
Should trigger if it meets the condition

Additional info: Screen shot and log files are attached

Comment 1 Jeeva Kandasamy 2011-09-08 13:28:50 UTC
Created attachment 522121 [details]
server log file

Comment 2 John Mazzitelli 2011-09-08 16:49:14 UTC
are these metrics enabled? look at the Schedules subtab in the UI. I think these might have been disabled (but the per-minute metrics ARE enabled).

Comment 3 Jeeva Kandasamy 2011-09-09 02:25:27 UTC
Yes John, You are correct. These metrics were disabled on 'Monitoring-->Schedules'. My bad I do not know this earlier. Hope we have document for this. After enabled these metrics alert definitions are executing as expected. Please move this bug to appropriate state.