JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Server Management Agents 2.1 User's Guide
search filter icon
search icon

Document Information

Preface

Documentation and Feedback

About This Documentation (PDF and HTML)

Change History

Oracle Server Management Agents 2. 1 User's Guide Overview

Oracle Hardware Management Agents

Installing Components Using the Oracle Hardware Management Pack Installer

Getting Started

Prerequisites

Installation Issues

Getting the Software

Installing Hardware Management Pack Components Using Installer

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

(Solaris and Linux) Hardware Management Agent Runtime Options

Configuring your Host Operating System's SNMP

(Solaris and Linux ) Configuring Net-SNMP/SMA

(Windows) Configuring SNMP

Oracle Hardware SNMP Plugins

Overview of Oracle HW Monitoring MIB

Overview of Oracle HW Trap MIB

Overview of Oracle Storage MIB

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 Sun x86 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

Troubleshooting Management Agents

General Management Agents Troubleshooting

Solaris Operating System Troubleshooting

Linux Troubleshooting

Index

Generating SNMP Traps

The combination of Hardware Management Agent and Hardware SNMP Plugins enables you to generate SNMP traps. To test this you can use IPMItool to inject a simulated fault. IPMItool is supplied as a component of Hardware Management Pack. An SNMP trap is generated by the Hardware SNMP Plugins.

How to Inject a Simulated Fault

  1. At the command prompt, type the following command:

    ipmitool -U user -P password -H hostname -v sdr list

    Choose a sensor from the returned list that you want to inject a simulated fault to. In this example the ipmi event: 'P0/VTT' unc assert is used.

  2. At the command prompt, type the following command:

    # ipmitool -U user -P password -H hostname event 'P0/VTT' unc assert

    which injects the ipmi event: 'P0/VTT' unc assert.

    You should receive an SNMP trap similar to the following:

    sysUpTime.0 = Timeticks: (4300) 0:00:43.00

    snmpModules.1.1.4.1.1 = OID: sunHwTrapVoltageNonCritThresholdExceeded

    sunHwTrapSystemIdentifier.0 = STRING: sg-prg-x6220-01-sp0

    sunHwTrapChassisId.0 = STRING: 1005LCB-0728YM01R7::0739AL71EA

    sunHwTrapProductName.0 = STRING: SUN BLADE 6000 MODULAR SYSTEM::SUN BLADE X6220 SERVER MODULE

    sunHwTrapComponentName.0 = STRING: /SYS/MB/P0/VTT

    sunHwTrapThresholdType.0 = INTEGER: upper(1)

    sunHwTrapThresholdValue.0 = STRING:

    sunHwTrapSensorValue.0 = STRING:

    sunHwTrapAdditionalInfo.0 = STRING: Upper Non-critical going high

    sunHwTrapAssocObjectId.0 = OID: zeroDotZero

    sunHwTrapSeverity.0 = INTEGER: nonCritical(4)

    You can verify the SNMP trap by checking the syslog record, which should contain something similar to the following:

    sg-prg-x6250-01 hwagentd[3470]: P0/VTT (Sensor ID: 0x1b) (Record ID: 0x821): Upper Non-critical going high.

    The messages stored in syslog or Windows application log correspond exactly to the SNMP traps. On Linux and Solaris operating systems, the messages are logged with facility daemon and level notice.


    Note - If records corresponding to SNMP traps are not being stored on Linux and Solaris operating systems, make sure that the daemon facility and notice level are enabled.