Monitor a Service Instance
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/dbaas/instances/{serviceId}/healthcheck
For Single Instance Database Service instance, the following health metrics are provided:
last_logon_time
- Number of days since last logon.user_tablespace_usage
- Max Percentage for a User Tablespace Used.active_sessions
- Active number of sessions.
In the event you encounter a status 500 error when attempting to retrieve data for your service instance, append the ?format=v4
query parameter and try again.
Request
-
identityDomainId: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
-
serviceId: string
Name of the Database Classic Cloud Service instance.
-
format(optional): string
Append
?format=v4
to the end of the resource path to return basic health data in situations where errors in the monitoring would have caused a status 500 to be returned.Note: The structure of the output when using the query parameter is not the same as the output without the parameter, but the healthcheck and metrics information is the same.
-
Authorization: string
Base64 encoding of the user name and password of the user making the request. For more information, see Security, Authentication and Authorization.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Database Classic Cloud Service account:
For a Cloud account with Identity Cloud Service: the identity service ID, which has the form
idcs-letters-and-numbers
. You can find this ID in the Identity Service Id field on the Overview tab of the Service Details page for Database Classic Cloud Service in My Services.For a traditional cloud account: the name of the identity domain.
Response
- application/json
200 Response
object
Response Body
-
identity_domain(optional):
string
Identity domain ID for the Oracle Database Classic Cloud Service account.
-
service_components(optional):
array service_components
Groups the health details for Oracle Database Classic Cloud Service components.
-
service_name(optional):
string
Name of the Oracle Database Classic Cloud Service instance.
-
summary(optional):
object summary Object
Title:
summary Object
array
-
Array of:
object service_components Array Item
Title:
service_components Array Item
object
summary Object
-
status(optional):
string
Status of the instance. Valid values are
UP
,DOWN
, orERROR
(indicating a system error was encountered during health check). -
status_message(optional):
string
Detailed status message.
-
status_time(optional):
string
Time at which the status was recorded (UTC).
object
service_components Array Item
-
component(optional):
string
Component for which health data is recorded. Component is
DB
for Database Classic Cloud Service instance. -
health_data(optional):
array health_data
Groups the runtime metrics for the Oracle Database Classic Cloud Service instance component.
-
vms(optional):
array vms
Groups the health details of VMs associated with an Oracle Database Classic Cloud Service component.
array
-
Array of:
object health_data Array Item
Title:
health_data Array Item
array
-
Array of:
object vms Array Item
Title:
vms Array Item
object
health_data Array Item
-
displayName(optional):
string
Display name for the health monitoring runtime metric.
-
name(optional):
string
Name of the health monitoring runtime metric.
-
type(optional):
string
Data type. For example,
int
. -
unit(optional):
string
Unit measurement of the metric. For example,
MB
andms
. -
value(optional):
string
Value of the health monitoring data.
object
vms Array Item
-
servers(optional):
array servers
Groups the health details of servers running on a VM.
-
summary(optional):
object summary
Groups the health summary for a VM.
-
vm(optional):
string
Name of the VM.
array
-
Array of:
object servers Array Item
Title:
servers Array Item
object
-
status(optional):
string
Status of the VM. Valid values are
UP
,DOWN
, orERROR
(indicating a system error was encountered during health check). -
status_message(optional):
string
Status message, if available.
-
status_time(optional):
string
Time at which the status was recorded (UTC).
-
sub_status(optional):
string
Status of a subcomponent, if applicable.
object
servers Array Item
-
health_data(optional):
array health_data
Groups the health details for the server.
-
server_name(optional):
string
Name of the server.
-
server_role(optional):
string
Server type. For example:
MANAGED
orADMIN
. -
summary(optional):
object summary
Groups the health status summary for the server.
array
-
Array of:
object health_data Array Item
Title:
health_data Array Item
object
-
status(optional):
string
Status of the server. Valid values are
UP
,DOWN
, orERROR
(indicating a system error was encountered during health check). -
status_message(optional):
string
Status message, if available.
-
status_time(optional):
string
Time at which the status was recorded (UTC).