IBM Support

How to check the ActiveMQ status for CP4S env

How To


Summary

This article provides the steps to check activemq status in CP4S env.

Objective

This article provides the steps to check activemq status in CP4S env.

Environment

CP4S 1.10.x +

Steps

To check the activeMQ status,  run the following:

-get the password for activeMQ:

     oc get secrets activemq-postgres-user -o yaml

-get the password decoded for the yaml file:

    echo "password" | base64 --decode 

-access this pod, where is the DB running:

    oc rsh soar-cluster-1

-run the query, and it will ask for the password that previously decoded

   psql -U activemq -d activemq -h localhost -p 5432 -c "select container, count(*) from activemq_msgs group by container order by container;"

Example of the result:

$ psql -U activemq -d activemq -h localhost -p 5432 -c "select container, count(*) from activemq_msgs group by container order by container;"


Password for user activemq:

                 container                 | count
-------------------------------------------+-------
 queue://actions.201.fn_qradar_integration |     1142

-to delete the pending messages run

psql -U activemq -d activemq -h localhost -p 5432 -c "DELETE FROM activemq_msgs WHERE container ='queue://actions.201.fn_qradar_integration’”

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSL2BV","label":"IBM Security QRadar Suite - SOAR"},"ARM Category":[{"code":"a8m0z000000cvqKAAQ","label":"Integrations"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""},{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m0z0000001h8pAAA","label":"Support-\u003ECases"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.10.0"}]

Document Information

Modified date:
14 July 2025

UID

ibm17239367