integrations

IBM ACE statistics with midleo.CORE agents

Author: Vasil Vasilev
March 11, 2024

With the help of the midleo.Agents , different information for the IBM App Connect Enterprise can be visualized during the time.
In the menu Statistics -> IBM ACE Statistics, you can see a list of servers that your group has access to:





When you select the desired ACE Node, you can see more details for the available Statistics:




If you select the desired Statistic, you can see a chart with details for the day that you have chosen:





Note that for the selected Server, there is a Job that is regularly stopping/starting it.
The job can be configured from the ACEScout menu:

ACEScout -> Application -> Node -> Server -> Created Local - Edit:



The following configuration has to be added into node.yaml.conf of the ACE Node and Node - restarted:

Statistics:
  Resource:
    reportingOn: true
    outputFormat: 'csvFile'
    filePath: '/data/logs/ibmace/'
    numberOfFiles: 1
    sizeOfFile: 25
    averages: true

After that, configuration can be added:

usage:
   -  ./magent.sh addcert
   -  ./magent.sh delcert LABEL
   -  ./magent.sh enableavl APP_SERVER SERVER_TYPE DOCKER_CONTAINER(In case it is working on Docker)
   -  ./magent.sh disableavl APP_SERVER
   -  ./magent.sh stopavl APP_SERVER comment
   -  ./magent.sh startavl APP_SERVER
   -  ./magent.sh addappstat SRV_TYPE APPSRV '{"queues":"TEST.*,VVV.*","channels":"SDR.*,CHL.*"}'
   -  ./magent.sh delappstat SRV_TYPE APPSRV
   -  ./magent.sh enabletrackqm QMGR # Transfer the mqat.ini file to /var/mqm/qmgr/QMGR/ folder
   -  ./magent.sh disabletrackqm QMGR

./magent.sh addappstat ibmace ACEBR01 '{"JVM":"/var/midleoagent/logs/ibmace/","ODBC":"/var/midleoagent/logs/ibmace/"}'
ACEBR01 of type ibmace have been added


You can check the output in the log:

cat logs/midleoagent.log
2024-06-23 20:30:58:HTTPResponse:INTSRV02 created;INTSRV02 created;INTSRV02 created;INTSRV02 created;INTSRV02 created;
2024-06-23 20:30:59:HTTPResponse:VPS.SRV1 created;VPS.SRV1 created;VPS.SRV1 created;VPS.SRV1 created;VPS.SRV1 created;
2024-06-23 20:31:00:HTTPResponse:ACE2EG3 created;ACE2EG3 created;ACE2EG3 created;ACE2EG3 created;ACE2EG3 created;
2024-06-23 20:31:01:HTTPResponse:INTSRV02 created;
2024-06-23 20:31:02:HTTPResponse:ACE2EG3 created;
2024-06-23 20:31:03:HTTPResponse:VPS.SRV1 created;