Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Configuration Reference

# SNMPAgent

# Description

The MBean representing the SNMP Agent Configuration. The SNMP Agent MBean is a singleton for the SNMP Agent Configuration and does not belong to any configuration.

# Syntax

>     <SNMPAgent
>       CommunityPrefix="String"
>       DebugLevel=( "0" | "1" | "2" | "3" )
>       Enabled=( "true" | "false" )
>       MibDataRefreshInterval="number of seconds"
>       Name="String"
>       Notes="String"
>       SNMPAttributeChanges="list of SNMPAttributeChange names"
>       SNMPCounterMonitors="list of SNMPCounterMonitor names"
>       SNMPGaugeMonitors="list of SNMPGaugeMonitor names"
>       SNMPLogFilters="list of SNMPLogFilter names"
>       SNMPPort="number"
>       SNMPProxies="list of SNMPProxy names"
>       SNMPStringMonitors="list of SNMPStringMonitor names"
>       SNMPTrapVersion=( "1" | "2" )
>       SendAutomaticTrapsEnabled=( "true" | "false" )
>       ServerStatusCheckIntervalFactor="number"
>       TargetedTrapDestinations="list of SNMPTrapDestination names"
>     />

# Parent Elements

- Domain

# Attributes

Table 61-1 SNMPAgent attributes

Attribute | Description | Range of Values and Default
--- | --- | ---
CommunityPrefix | Defines the prefix string which is used to form SNMP Community name. To form a community name, append "@" and the server name or domain name to the prefix. SNMP Community Name = CommunityPrefix[@{ServerName | DomainName}] | Admin Console field label: Community Prefix Default: public Secure value: value must not be "public"
DebugLevel | Defines the Debug level. Valid values are: 0-NoDebug 1-Fatal 2-Critical 3-Non-Critical | Admin Console field label: Debug Level Default: 0 Secure value: DEBUG_NONE
Enabled | Defines the state of the SNMP service on an administration server. A value of "true" enables the service. | Admin Console field label: Enabled Default: false Secure value: false
MibDataRefreshInterval | Defines the minimum amount of time all MIB values are cached before the agent attempts to refresh them. | Admin Console field label: MIB Data Refresh Interval Units: seconds Default: 120 Minimum: 30 Maximum: 65535
Name | The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration. | Required: no
Notes | Optional information that you can include to describe this configuration. | Required: no
SNMPAttributeChanges | SNMPAttributeChangeMBeans which describe the MBean type and Attribute name for which attribute change trap should be sent when an attribute change is observed. | Required: no
SNMPCounterMonitors | SNMP CounterMonitorMbeans which describe the criteria for generating trap based on JMX CounterMonitor. | Required: no
SNMPGaugeMonitors | SNMP GaugeMonitorMbeans which describe the criteria for generating trap based on JMX GaugeMonitor. | Required: no
SNMPLogFilters | SNMPLogFilterMBeans which describe filters for generating traps based on server log messages. | Required: no
SNMPPort | Defines the port that is used for sending SNMP trap notifications to the target SNMP manager. | Admin Console field label: SNMP Port Default: 161 Minimum: 1 Maximum: 65535
SNMPProxies | Defines the SNMP Agents which are proxied by this Master SNMP Agent. SNMPProxyMBeans describe settings for SNMP agents to be proxied by this Master agent. | Required: no
SNMPStringMonitors | SNMP StringMonitorMbeans which describe the criteria for generating trap based on JMX StringMonitor. | Required: no
SNMPTrapVersion | Defines the trap version to be used while sending SNMP trap notifications to the target SNMP manager. | Admin Console field label: Trap Version Default: 1
SendAutomaticTrapsEnabled | Defines the state of the SNMP automatic trap generation service. Select to enable the service. | Admin Console field label: Send Automatic Traps Enabled Default: true
ServerStatusCheckIntervalFactor | Defines a multiplier used to calculate the interval at which the server status is checked. interval = n * MibDataRefreshInterval | Admin Console field label: Server Status Check Interval Factor Default: 1 Minimum: 1 Maximum: 65535
TargetedTrapDestinations | Gets the targetedTrapDestinations attribute of the SNMPAgentMBean object | Admin Console field label: Targeted Trap Destinations Required: no