BEA Home | Events | Solutions | Partners | Products | Services | Download | Developer Center | WebSUPPORT
| WebLogic Server Doc Home | SNMP MIB Reference | Previous Topic | Next Topic | Contents | View as PDF

BEA WebLogic Server Traps MIB

The WebLogic Server Traps MIB describes the information returned by the WebLogic Administration Server SNMP Service for trap notifications. This section includes the following topics:

- Trap Variable Bindings

- Trap Definitions

Trap Variable Bindings

The SNMP trap notification data packet (PDU) includes a series of name/value pairs in the Variable Bindings field that contain additional information about the trap.

This section describes the variables that can be included within the variable bindings of traps generated by the WebLogic SNMP agent.

trapTime

Syntax

DisplayString SIZE(1..32)

Description

A string that indicates the time when the trap notification was generated

trapServerName

Syntax

DisplayString SIZE(1..64)

Description

The name of the server that generated the trap

trapMachineName

Syntax

DisplayString SIZE(1..64)

Description

The machine where the trap was generated

trapLogThreadId

Syntax

DisplayString SIZE(1..16)

Description

An integer that indicates the id of the thread in which the log message was generated. This is derived from the log message attribute.

trapLogTransactionId

Syntax

DisplayString SIZE(1..64)

Description

The id of the transaction from which the trap is generated (if any). This is derived from the transaction id of the log message.

trapLogUserId

Syntax

DisplayString SIZE(1..32)

Description

The user id from which the trap is generated. This is derived from the user id of the log message from which the trap is generated.

trapLogSubsystem

Syntax

DisplayString SIZE(1..32)

Description

The subsystem from which the trap is generated. This is derived from the subsystem attribute of the log message.

trapLogMsgId

Syntax

DisplayString SIZE(1..16)

Description

The message id of the log message from which the trap is derived

trapLogSeverity

Syntax

DisplayString SIZE(1..16)

Description

The severity of the log message from which the trap is derived

trapLogMessage

Syntax

DisplayString SIZE(1..256)

Description

The body of the log message from which this trap is derived

trapMonitorType

Syntax

DisplayString SIZE(1..16)

Description

The string should be either CounterMonitor, or GaugeMonitor, or StringMonitor. This indicates the type of JMX monitor that generated the trap.

trapMonitorThreshold

Syntax

DisplayString SIZE(1..32)

Description

An ASCII-string representation of the value that was used to define the threshold. A detected value that varies appropriately from this value is what will trigger the trap.

trapMonitorValue

Syntax

DisplayString SIZE(1..32)

Description

This is the detected value that crossed the threshold defined for the monitor

trapMBeanName

Syntax

DisplayString SIZE(1..256)

Description

When an attribute change trap is generated, this is the name of the MBean for that attribute.

trapMBeanType

Syntax

DisplayString SIZE(1..256)

Description

When an attribute change trap is generated, this is the type of the MBean for that attribute.

trapAttributeName

Syntax

DisplayString SIZE(1..256)

Description

The name of an attribute.

trapAttributeType

Syntax

DisplayString SIZE(1..32)

Description

When an attribute change trap is generated, this is the type of the attribute whose change triggered the trap.

trapAttributeChangeType

Syntax

DisplayString SIZE(1..32)

Description

When an attribute change trap is generated, this is the type of change that has occurred. The value can be either ADD or REMOVE.

trapAttributeOldVal

Syntax

DisplayString SIZE(1..512)

Description

The value of the attribute prior to the change

trapAttributeNewVal

Syntax

DisplayString SIZE(1..512)

Description

The value of an attribute after the change

Trap Definitions

This section defines all the traps that can be generated by the WebLogic SNMP agent.

wlsAttributeChange

Variables

The following attributes are included in the Variable Bindings: trapTime, trapServerName, trapMBeanName, trapMBeanType, trapAttributeName, trapAttributeType, trapAttributeChangeType, trapAttributeOldVal, trapAttributeNewVal

Description

This trap occurs if the SNMP agent has been configured to detect a change on a specified attribute and send notification of a change, and a change has occurred on the specified attribute.

Specific Trap Id

80

wlsLogNotification

Variables

The following attributes are included in the variable bindings: trapTime, trapServerName, trapMachineName, trapLogThreadId, trapLogTransactionId, trapLogUserId, trapLogSubsystem, trapLogMsgId, trapLogSeverity, trapLogMessage.

Description

This trap occurs if the SNMP agent has registered a log notification filter on a Managed Server and a log message has occurred that matches the filter. The textual description and severity of the log message indicates the appropriate action to take.

Specific Trap Id

60

wlsMonitorNotification

Variables

The following attributes are included in the variable bindings: trapTime, trapServerName, trapMonitorType, trapMonitorThreshold, trapMonitorValue, trapMBeanName, trapMBeanType, trapAttributeName

Description

This trap occurs if a JMX monitor has been configured and the monitor detects a condition on the monitored resource that crosses the threshold or satsifies the condition defined for that monitor. The attribute being monitored is indicated by trapAttributeName.

Specific Trap Id

75

wlsServerShutDown

Variables

The attributes included in the Variable Bindings are: trapTime, trapServerName

Description

The Managed Server indicated by trapServerName has shutdown.

Specific Trap Id

70

wlsServerStart

Variables

The attributes included in the Variable Bindings are: trapTime, trapServerName

Description

The Managed Server indicated by trapServerName has started.

Specific Trap Id

65

Copyright © 2001 BEA Systems, Inc. All rights reserved. Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.