|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Standalone Integration Server Status Check Command in ACE12 |
« View previous topic :: View next topic » |
Author |
Message
|
EricL |
Posted: Wed Mar 26, 2025 8:22 am Post subject: Standalone Integration Server Status Check Command in ACE12 |
|
|
Centurion
Joined: 10 Oct 2014 Posts: 102
|
Hi,
I got a curious question about standalone integration server status check in ACE 12.
Knowing normally admin UI is used for a standalone integration server, is there a way to check it from command line?
Thanks
Eric |
|
Back to top |
|
 |
mgk |
Posted: Fri Mar 28, 2025 7:54 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Yes, there are a couple of options.
Firstly you can use: curl
The docs mention it here for v12: https://www.ibm.com/docs/en/app-connect/12.0?topic=servers-starting-integration-server There are examples on many more pages as well but here is the simplest example which returns lots of info:
Code: |
curl -s https://<your-host>:7600/apiv2/ |
You can narrow it down with a JQ query like this:
Code: |
curl -s https://<your-host>:7600/apiv2/ | jq .active
{
"eventLog": "/home/aceuser/ace-server//log/integration_server.ace-server.events.txt",
"exceptionLoggingOn": false,
"isOptimized": false,
"isRunning": true,
"lastMessageEpoch": 1742309714,
"lastMessageTime": "2025-03-18T14:55:14Z",
"monitoring": "inactive",
"monitoringProfile": "",
"processId": 15,
"restAdminListenerIPCSocket": "/home/aceuser/ace-server//config/IntegrationServer.uds",
"restAdminListenerPort": 7600,
"serviceTraceOn": false,
"startupEpoch": 1742228764,
"startupTime": "2025-03-17T16:26:04Z",
"state": "started",
"traceNodeLevel": true,
"userTraceOn": false
} |
or even get just the "state" with a query like:
Code: |
curl -s https://<your-host>:7600/apiv2/ | jq .active.state
"started" |
or if you don't want the quotes, just add the -r flag:
Code: |
curl -s https://<your-host>:7600/apiv2/ | jq -r .active.state
started |
Alternatively you can use the mqsilist command with the options to point to a specific integration server like this:
Code: |
mqsilist -i <your-host> -p 7600
BIP1275I: Application 'MyApp' on integration server 'my-server' is running.
BIP1390I: Policy project 'jndi' is deployed to integration server 'my-server'.
BIP8071I: Successful command completion. |
I hope that helps _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
EricL |
Posted: Fri Mar 28, 2025 12:52 pm Post subject: |
|
|
Centurion
Joined: 10 Oct 2014 Posts: 102
|
Very informative reply "mgk", thank you so much.
j-Query is a powerful utility to filter jason messages.
Appreciated your advice, thanks again !
Eric |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|