You can call this operation to query the status of the CloudMonitor agent.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
InstanceIds String Yes i-12345w55tr2rcpejp****,i-23456w55tr2rcpejp****

The ID of the instance of which the status is to be obtained. Multiple instance IDs must be separated with commas (,).

Action String No DescribeMonitoringAgentStatuses

The operation that you want to perform. Set the value to DescribeMonitoringAgentStatuses.

Response parameters

Parameter Type Example Description 
Code String 200

The status code. A value of 200 indicates that the call is successful.

Message String Successfully

The error message.


The status list.

  └AutoInstall Boolean true

Indicates whether to enable automatic installation.

  └InstanceId String i-123456w55tr2rcpejp****

The ID of the instance.

  └Status String running

The status of the agent. Valid values: running and stopped.

RequestId String E9F4FA2A-54BE-4EF9-9D1D-1A0B1DC86B8D

The request ID for troubleshooting.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.


Sample requests

http(s)://[Endpoint]/? Action=DescribeMonitoringAgentStatuses
&<Common request parameters>

Successful response examples

XML format


JSON format


Error code

View error codes