Agent Health Check
The Health Check utility (HCU) collects and stores Agent data in a compressed archive that enables BMC Technical Support to troubleshoot system issues. The HCU records your hardware and network configuration, OS name and version, Agent version, kernel settings, memory utilization, active process data, error logs, and other proprietary information.
The Agent HCU stores the compressed archive and a run log in the following directories:
-
Log:
-
UNIX: <Agent_Home>/ctm/proclog/ctm_data_collector_<Timestamp>_<OS_Type>_<Hostname>_display.log
-
Windows: <Agent_Home>\PROCLOG\Default\ctm_data_collector_<Timestamp>_<OS_Type>_<Hostname>_display.log
-
-
Compressed Archive (HCU Package):
-
UNIX: <Agent_Home>/ctm/hcu_package/_data_<Timestamp>_<OS_TYPE>_<Hostname>.tar.Z
-
Windows: <Agent_Home>\Default\hcu_package\ctma_data_<Timestamp>_<OS_Type>_<Hostname>.zip
-
Running the Agent Health Check Utility
This procedure describes how to run the Health Check utility with its default parameters, which enables you to collect and package the data that BMC Technical Support usually requests.
Begin
-
Run the following command:
ctma_data_collector
You can include additional optional parameters, as described in Agent Health Check Utility Parameters.
The log file location and a confirmation message appears.
-
Press y to continue.
The Agent HCU runs and the compressed archive directory location appears.
-
UNIX: /home/john_doe/ctm_agent/ctm/hcu_package/_data_20260118_123257_linux_st-ntx-62334_smartool.tar.gz
-
Windows: C:\Program Files\BMC Software\Control-M Agent\Default\hcu_package\ctma_data_20260118_123545_MSWin32_WINMYSM-R41STJ7.zip
You can now send the log file and compressed archive to BMC Technical Support.
-
Agent Health Check Utility Parameters
The following table describes the Health Check utility parameters.
|
Parameter |
Description |
|---|---|
|
Components |
(Optional) Products and applications that the utility can gather data. |
|
Category |
Determines the Control-M/Agent specific categories for the Health Check utility, as described in Health Check Utility Category Parameters. |
|
Profiles |
(Optional) Defines a predefined combination of Components and Categories, as described in Health Check Utility Profile Parameters. If you specify one or more Profiles, do not specify Components or Categories. |
|
-simulate |
(Optional) Simulates execution of a Health Check utility. This allows the user to verify that specified parameter values are appropriate. |
|
-days |
(Optional) Defines the maximum number of days in the past to gather the information. This option only affects log files relevant to BMC Software components. Default: 2 |
|
-max_size |
(Optional) Defines the maximum size (in MB) of the compressed file that is created by the Health Check utility. Default: 300 |
|
-trace |
(Optional) Runs a trace on the Health Check utility. This generates the following log file: ctm_data_collector_<YYYYMMDD>_<HHMMSS>_<PLATFORM_TYPE>_<HOSTNAME>.log |
|
-verbose |
(Optional) Creates an output of the utility processes. By default, only processed categories appear. |
|
-batch |
(Optional) Runs in batch mode without a confirmation request. |
|
-help, -h |
(Optional) Displays an explanation of how to use the utility. |
Health Check Utility Category Parameters
The following table describes Control-M/EM specific categories for the Health Check utility.
|
Category |
Description |
|---|---|
|
INST_AG |
Defines the installation parameters, as follows:
If you run the Health Check utility with INST, it gathers relevant information only if the error occurs after the files are copied during the installation. If you specify the INST Category parameter, you must also specify one or more component parameters. If you specify the INST Category parameter, do not specify categories other than INST. |
|
OS |
Defines the Operating System related physical resource, as follows:
|
|
BSS |
Defines the component backup, sysout and status directories. |
|
CNF |
Defines the following component configuration files:
|
|
LOG |
Defines the following component general diagnostic data collection:
|
|
UTL |
Defines the component utilities. This information includes sizes of the following tables:
|
|
MSR_AG |
Defines the component and environment measurements that are stored in the database, as follows:
|
Health Check Utility Profile Parameters
The following table describes the profile parameters, which are a predefined combination of Components and Categories.
|
Profile |
Description |
|---|---|
|
ENV |
Collects environment data that includes information the OS Category. |
|
AG |
Collects Control-M/Agent data. This includes information from the following Categories:
|
|
EXD_BSS |
Excludes the collection of backup, sysout and status directories. Fewer directories provides a lighter option that shortens the amount of time that the Health Check utility needs to run. - ctma_data_collector -F EXD_BSS |
|
MSR |
Collects measurement data that includes information the MSR_AG Category. |
|
LOG_CFG |
Collects environment data and Agent configuration data. This includes information from the following Categories:
|
|
ALL |
Collects data through all Agent Profiles, as follows:
|
