Show the status of an Eclipse Amlen server and services
Purpose
Shows details about the status of the Eclipse Amlen server, including information about High Availability (HA), cluster membership, the protocol plug-in server process, the MQ Connectivity process, and SNMP. If Eclipse Amlen is running in a Docker container, the information that is returned also includes the Docker container UUID.URI
Use the Eclipse Amlen REST API GET method with the following Eclipse Amlen service URI:
http://<Server-IP:Port>/ima/v1/service/status/<ServiceName>
where:
- ServiceName
- Optional.
Usage NotesĀ®
- Capitalization must be used as shown.
Example
The following example shows a GET method to display the status of the Eclipse Amlen server by using cURL:
curl -X GET http://127.0.0.1:9089/ima/v1/service/status/Server
The following example shows an example response to the GET method that was used to display the status of the Eclipse Amlen server:
{
"Version":"v1",
"Server": {
"Name": "TestSystem:9089",
"UID": "aFWxYf32",
"Status": "Running",
"State": 1,
"StateDescription": "Running (production)",
"ServerTime": "2016-03-04T14:46:53.081Z",
"UpTimeSeconds": 4134,
"UpTimeDescription": "0 days 1 hours 8 minutes 54 seconds",
"Version": "2.0 20160304-0400",
"ErrorCode": 0,
"ErrorMessage": ""
},
"Container": {
"UUID":"034c91ce828a4f5c2c21d7cd7f04628368b63bd308825ec2d9dab5096ff04ca0"
},
"HighAvailability": {
"Status": "Inactive",
"Enabled": false
},
"Cluster": {
"Status": "Inactive",
"Enabled": false
},
"Plugin": {
"Status": "Inactive",
"Enabled": false
},
"MQConnectivity": {
"Status": "Active",
"Enabled": true
},
"SNMP": {
"Status": "Inactive",
"Enabled": false
}
}
The following example shows a GET method to display the status of the Eclipse Amlen server only by using cURL:
curl -X GET http://127.0.0.1:9089/ima/v1/service/status/Server
The following example shows an example response to the GET method that was used to display the status of the Eclipse Amlen server only:
{
"Version":"v1",
"Server": {
"Name": "TestSystem:9089",
"UID": "aFWxYf32",
"Status": "Running",
"State": 1,
"StateDescription": "Running (production)",
"ServerTime": "2016-03-04T14:46:53.081Z",
"UpTimeSeconds": 4134,
"UpTimeDescription": "0 days 1 hours 8 minutes 54 seconds",
"Version": "2.0 20160304-0400",
"ErrorCode": 0,
"ErrorMessage": ""
},
"Container": {
"UUID":"034c91ce828a4f5c2c21d7cd7f04628368b63bd308825ec2d9dab5096ff04ca0"
}
}