The Monitoring Agent for HMC Base provides you with the capability to monitor
the Hardware Management Console (HMC). The agent monitors the availability and health of the HMC
resources: CPU, memory, storage, and network. The agent also reports on the HMC inventory and
configuration of Power® servers, CPU pools, and LPARs. The
CPU utilization of the Power servers, LPARs, and pools are
monitored by using HMC performance sample data.
Before you begin
Before you configure the HMC Base agent, you must complete the following tasks:
Procedure
- To configure the agent by editing the silent response file
and running the script with no interaction, complete the following
steps:
- Open the hmc_base_silent_config.txt file
in a text editor:
- install_dir/samples/hmc_base_silent_config.txt.
- For HMC Hostname, you can specify the IP
address or host name.
- For HMC Username, you must enter the logon
user name for the HMC, for example, HMC_USERNAME= hscroot.
Note: The
logon user name that you assign to the HMC requires hscviewer authority
at a minimum.
- For HMC Password, you must
enter the password of the user.
- For Maximum Number of Data Provider Log Files:, you must specify the
maximum number of data provider log files that are created. For example,
KPH_LOG_FILE_MAX_COUNT=10.
- For Maximum Size in KB of Each Data Provider Log,
you must enter the maximum size in KB that a data provider log file
might reach before a new log file is created, for example, KPH_LOG_FILE_MAX_SIZE= 5190.
- For Level of Detail in Data Provider Log,
you must enter the amount of detail that the data provider includes
in the data provider log files, for example, KPH_LOG_LEVEL=Fine.
You must specify one of the following values:
- 1= Off
- 2=Severe
- 3=Warning
- 4=Info
- 5=Fine
- 6=Finer
- 7=Finest
- 8=All
Important: The default value is 4.
- Save and close the hmc_base_silent_config.txt file,
then enter: ./hmc_base-agent.sh config instance_name install_dir/samples/hmc_base_silent_config.txt where instance_name is
the name you want to give the instance and install_dir is
the HMC Base agent installation
directory. The default installation directory is /opt/ibm/apm/agent.
- To configure the agent by responding to
prompts, complete the following steps:
- Open the install_dir/bin directory,
where install_dir is
the installation directory for the HMC Base agent.
- To configure the HMC Base agent,
run the following command: ./hmc_base-agent.sh config instance_name.
- When prompted to edit the Monitoring Agent for HMC Base
settings, press Enter. The default
value is Yes.
- To enter the HMC configuration information, complete the following
steps.
- When prompted for the HMC Hostname, type the
host name or IP address and press Enter.
- When prompted for HMC Username, type the logon
user name that is associated with the HMC, and press Enter.
- When prompted for HMC Password,
type the password of the user.
- To enter the data provider information, complete the following
steps:
- When prompted for the maximum number of data provider
log files, type the amount of log files and press Enter.
The
default maximum number of data provider log files is 10.
- When prompted for the maximum size in KB of each data
provider log, type the size and press Enter.
The
default maximum size in KB is 5190.
- When prompted for the Level of detail in data provider
log, type one of the following levels and press Enter:
- 1= Off
- 2=Severe
- 3=Warning
- 4=Info
- 5=Fine
- 6=Finer
- 7=Finest
- 8=All