Bug 1127988

Summary: [RFE][ceilometer]: Add a host Predictive Failure Metric to host level metrics
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ceilometer/+spec/predictive-failure-metric
Whiteboard: upstream_milestone_none upstream_definition_obsolete upstream_status_unknown
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-08-08 04:03:29 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/predictive-failure-metric.

Description:

We would like to have a metric to monitor and predict host failures. This would require changes to the Ceilometer code:
These are the changes required in Ceilometer files (6 lines total). 

    Add line to ceilometer entry_points.txt file:
            host_pfa = ceilometer.compute.notifications.cpu:HostPfa

     Add line to ./compute/notifications/cpu.py
            class HostPfa(ComputeMetricsNotificationBase):
                 """Handle predictive failure alert message."""
               metric = 'host.pfa'
               sample_type = sample.TYPE_GAUGE
               unit = 'bool'


Specification URL (additional information):

None