Bug 754861

Summary: [RFE] [AS4/AS5/AS6] Availability of Datasource should reflect actual state of connection provided by the Datasource
Product: [Other] RHQ Project Reporter: Larry O'Leary <loleary>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: high    
Version: 4.3CC: hrupp, jshaughn
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=710230
Fixed In Version: Doc Type: Bug Fix
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: ---

Description Larry O'Leary 2011-11-17 18:32:37 EST
Currently a Datasource resource being monitored in RHQ will show as Available (UP) even if the underlying datasource is unavailable or user/password is not correct. This leads to false sense of state within a monitored/managed AS/EAP resource.

This RFE is requesting that the availability check for a Datasource do more then merely making sure the state of the Datasource component is RUNNING in the AS instances but instead that the connections provided by the Datasource are actually available. Essentially, the Datasource method testConnection() should be used to actually test the availability of a connection within the Datasource.