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: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 4.3CC: hrupp, jshaughn
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:

Description Larry O'Leary 2011-11-17 23:32:37 UTC
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.