JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Hardware Management Pack 2.2.x HTML Documentation Collection
Oracle Technology Network
Library
PDF
Print View
Feedback
search filter icon
search icon

Document Information

Using This Documentation

Install Guide

Management Agents User's Guide

Oracle Server Management Agents User's Guide Overview

Oracle Server Management Agents

Oracle Server Hardware Management Agent

Oracle Server Hardware SNMP Plugins

itpconfig and the ILOM Trap Proxy

Configuring Hardware Management Agent and Hardware SNMP Plugins

Hardware Management Agent Configuration File

Configuring the Hardware Management Agent Logging Level

How to Configure the Hardware Management Agent Logging Level

Configuring your Host Operating System's SNMP

(Solaris and Linux ) Configuring Net-SNMP/SMA

How to Configure SNMP Gets

How to Configure SNMP Sets

How to Configure SNMP Traps

(Windows) Configuring SNMP

(Windows) How to Configure SNMP

Oracle Server Hardware SNMP Plugins Overview

Overview of Sun HW Monitoring MIB

Sun Server Product and Chassis

Sun Server Service Processor

Sun Server Hardware Monitoring MIB

Sun Server Hardware Management Agent

Sun Server Hardware Inventory

Sun Server Hardware Monitor Sensor Group

sunHwMonIndicatorGroup

sunHwMonTotalPowerConsumption

Overview of Sun HW Trap MIB

Overview of Sun Storage MIB

Sun Storage MIB Objects

Physical and Logical Storage Objects

Working With Management Agents

Retrieving and Setting Information Through SNMP

sunHwMonProductGroup

How to Retrieve the Product Information from a Sun x86 Server

How to Retrieve The Product Information on a Sun x86 Server Module

sunHwMonProductChassisGroup

How to Retrieve the Server Module's Product Chassis Information

sunHwMonSPGroup

How to Retrieve Service Processor Information

sunHwMonInventoryTable

How to Retrieve Inventory Information

sunHwMonSensorGroup

How to Retrieve the Sensor Group Information

sunHwMonIndicatorLocator

How to Set the Indicator Locator

Generating SNMP Traps

How to Inject a Simulated Fault

Using the itpconfig Tool

itpconfig Command Usage

Options

Subcommands

Error Codes

itpconfig Usage Scenario

Host-to-ILOM Interconnect Configuration Commands

How to Enable Host-to-ILOM Interconnect

How to Disable Host-to-ILOM Interconnect

How to List the Host-to-ILOM Interconnect Settings

itpconfig Trap Forwarding Commands

How to Enable Trap Forwarding

How to Disable Trap Forwarding

Configuring Trap Forwarding on Windows Servers

How to configure trap forwarding on Windows servers

Troubleshooting Management Agents

General Management Agents Troubleshooting

itpconfig Troubleshooting

Oracle Solaris Operating System Troubleshooting

Issues Installing with pkgadd

How to Remove a Packaging Lock File

Linux Troubleshooting

Hardware Management Agent Service Fails to Start

How to Solve Issues With IPMI Device Drivers

Hardware Management Agent Service Status Dead

How to Solve Issues with IPMI Device Drivers

CLI Tools User's Guide

Index

Configuring the Hardware Management Agent Logging Level

To configure the logging level, modify the hwagentd_log_levels parameter in the hwmgmtd.conf file. There are two ways to configure the logging level. The easiest way to configure the logging level is to set the hwagentd_log_levels parameter to one of the following levels.

Log Level
Messages Logged
ERROR
Any error messages generated by the Hardware Management Agent
WARNING
Any error and warning messages generated by the Hardware Management Agent
INFO
Any error and warning messages generated by the Hardware Management Agent and informative messages about normal functioning

Alternatively, you can set the logging level with a finer level of granularity by using the bit flags from the following table.


Note ‐  It is recommended to use the logging levels above. The following options are for advanced troubleshooting.
Log Level
Bit Code
Messages Logged
EMERG
0x0001
Information about the system being unusable
ALARM
0x0002
Information about any immediate action that must be taken
CRIT
0x0004
Information related to the Hardware Management Agent either not starting or stopping because of critical conditions
ERROR
0x0008
Information about any error messages generated by the Hardware Management Agent
WARNING
0x0010
Information about any error and warning messages generated by the Hardware Management Agent
NOTICE
0x0020
Information related to normal functioning
INFO
0x0040
Information about any error and warning messages generated by the Hardware Management Agent and informative messages about normal functioning
DEBUG
0x0080
Verbose debug-level messages, useful in troubleshooting
TRACE
0x0100
Highly verbose debug-level messages, useful in troubleshooting

Note ‐  levels DEBUG and TRACE generate a lot of detailed messages and are designed for troubleshooting. These levels are not recommended for production usage.

For example, when you want to set all logging levels between EMERG and NOTICE, the bit code values of all the required levels must be added and then converted to a decimal value. Referring to preceding table, the addition would be as follows:

0x0001 + 0x0002 + 0x0004 + 0x0008 + 0x0010 + 0x0020 = 0x003f

Converting this hexadecimal value to decimal equals 63, which is the desired log level. This is the decimal number that should be assigned to the hwagentd_log_levels parameter in the hwmgmtd.conf file.