Bug 1495209 - A control alert for real time performance of a VM and Instance is not firing
Summary: A control alert for real time performance of a VM and Instance is not firing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: lgalis
QA Contact: John Dupuy
URL:
Whiteboard:
Depends On:
Blocks: 1552794
TreeView+ depends on / blocked
 
Reported: 2017-09-25 13:48 UTC by Peter McGowan
Modified: 2019-02-11 13:53 UTC (History)
10 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552794 (view as bug list)
Environment:
Last Closed: 2019-02-11 13:53:41 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of alert definition (185.59 KB, image/jpeg)
2017-09-25 13:48 UTC, Peter McGowan
no flags Details
Extract from evm.log (76.02 KB, text/plain)
2017-09-25 13:57 UTC, Peter McGowan
no flags Details

Description Peter McGowan 2017-09-25 13:48:36 UTC
Created attachment 1330554 [details]
Screenshot of alert definition

Description of problem:
I have a control alert defined to trigger on CPU utilization > 10% for a RHV VM or instance (see attached screenshot). The alert profile is assigned to tagged VMs, one of which is consistently running at around 48% CPU utilization. No alert is triggered.

Version-Release number of selected component (if applicable):
5.8.1.5

How reproducible:
Every time

Steps to Reproduce:
1. Set up a real-time control alert as shown in the attached screenshot
2. Generate a CPU load on a VM managed by the CFME appliance


Actual results:
no alert is generated

Expected results:
an alert if generated

Additional info:
An evm.log is available that shows the output from an automate method called 'test26'. This calls perf_collect_metrics on each of the tagged VMs, and shows that the average utilisation the VM 'vvaldez-atomic-host' is above the 10% threshold that the alert is defined for. The log also shows the debug output:

MIQ(MiqAlert#evaluate) Evaluating Alert [CPU Utilisation above 10%] for target: [vvaldez-atomic-host]... Result: [false]

Comment 2 Peter McGowan 2017-09-25 13:57:28 UTC
Created attachment 1330557 [details]
Extract from evm.log

Comment 8 Peter McGowan 2017-12-07 13:49:47 UTC
Aren't we saying that "cpu_used_delta_summation" is a VMware-only value? If so then the human-readable value should indicate the provider-specific nature of the counter, for example "Total CPU usage (VMware)" or "Total CPU time usage (VMware)".

Similarly any RHV-specific counters such as "cpu_usage_rate_average" should also indicate their provider-specific association in the human-readable value.

Comment 12 John Dupuy 2018-11-09 19:25:42 UTC
Version: 5.10.0.23.20181106165157_92dd189

Verification Steps:
1) Navigate to Control -> Explorer -> Alerts
2) Select "Configuration", "Add a New Alert"
3) Select "What to Evaluate", "Real Time Performance"
4) Select "Performance field"
5) Verified that "CPU-Time used (ms)" has been changed to "CPU-Total time usage (VMware) (ms)"


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