Page 55 - DCAP104_EXPOSURE_TO_COMPUTER_DISCPLINES
P. 55
Exposure to Computer Disciplines
Notes 3.6 Managing Hardware in Operating Systems
It is possible to supply command-line options when starting the Hardware Management Agent
manually. Use the command line options as follows:
hwagentd OPTIONS
The command line options are explained in the following table.
Option Function
-h Displays the usage message and exits.
-v Displays the Hardware Management Agent version currently
installed on this Sun x64 Server and exits.
-l level Override the logging level set in the hwagentd.conf file with level.
When using the logging levels option, you must supply a decimal number to set the logging
level to use. This decimal number is calculated from a bit field, depending on the logging
level you want to specify. For more information on the bit field used to configure different
log levels.
3.6.1 Hardware Management Agent Configuration File
Once the Hardware Management Agent and Hardware SNMP Plugins are installed on
the Sun x64 Server you want to monitor, you can configure them. There is only one
configuration file for the Hardware Management Agent, which configures the level of
detail used for log messages. Depending on which host operating system the Hardware
Management Agent is running on, the configuration file can be found at the path shown
in the following table.
Operating System Configuration file path
Linux /etc/sun-ssm/hwagentd.conf
Solaris Operating /etc/opt/sun-ssm/hwagentd.conf
System Windows C:\Program Files\Sun Microsystems\SSM\Sun Server Hardware
Management Agent\conf\hwmgmtd.conf
The Hardware Management Agent records log messages into the log file. These messages can
be used to troubleshoot the running status of the Hardware Management Agent. The following
table shows the path of the log file.
Operating Log File Path
SystemLog
Linux /var/log/sun-ssm/hwagentd.log
Solaris /var/opt/sun-ssm/hwagentd.log
Windows C:\Program Files\Sun Microsystems\SSM\Sun Server Hardware
Management Agent\log\hwmgmtd.log
3.6.2 Configuring the Hardware Management Agent Logging Level
To configure the logging level, modify the hwagentd_log_levels parameter in the hwagentd.
conf file. The hwagentd_log_levels parameter is a bit flag set expressed as a decimal integer.
48 LOVELY PROFESSIONAL UNIVERSITY