![]() ![]() ![]() ![]() |
SNMP String Monitors: General
Configuration Options Related Tasks Related Topics
Use this page to configure a string monitor, which periodically checks the value of a
string
attribute and generates a notification if the value is equal to or different from another specified string.Configuration Options
Name Description Name The name of this string monitor.
Each monitor within a domain must have a unique name.
The name displays in the Administration Console, and if you use WebLogic Server command-line utilities or APIs, you use this name to identify the string monitor.
After you have created a monitor, you cannot change its name. Instead, delete it and create a new one.
MBean Attribute:
SNMPStringMonitorMBean.Name
Changes take effect after you redeploy the module or restart the server.
Monitored MBean Type The MBean type that defines the attribute you want to monitor. Do not include the
MBean
suffix. For example,ServerRuntime
.MBean Attribute:
SNMPStringMonitorMBean.MonitoredMBeanType
Changes take effect after you redeploy the module or restart the server.
Monitored MBean Name The name of the MBean instance that you want to monitor. If you leave the name undefined, WebLogic Server monitors all instances of the MBean type that you specify in Monitored MBean Type.
If you target SNMP agents to individual Managed Servers, make sure that the MBean instance you specify is active on the Managed Servers you have targeted. For example, if you specify
MServer1
as the name of a ServerRuntimeMBean instance, this monitor will only function if you target an SNMP agent either to the Administration Server or to a Managed Server namedMServer1
.Do not enter the full JMX object name of the MBean instance. Instead, enter only the value of the object name's
Name=name
name-value pair. To create unique MBean object names, WebLogic Server encodes several name-value pairs into each object name. One of these pairs isName=name
. For example:
"MedRec:Name=MedRecServer,
Type=ServerRuntime"In the previous example, specify
MedRecServer
as the name of the MBean instance.MBean Attribute:
SNMPStringMonitorMBean.MonitoredMBeanName
Changes take effect after you redeploy the module or restart the server.
User Entered MBean Name The short name of an MBean instance. Requires you to select
User Entered MBean Name
in the Monitored MBean Name list.Enter a name in this field if you want to monitor an MBean instance that is not currently active.
You provide the short name for an MBean when you create the associated resource.
Monitored Attribute Name The name of an MBean attribute to monitor. This attribute must be in the WebLogic Server MIB.
MBean Attribute:
SNMPStringMonitorMBean.MonitoredAttributeName
Changes take effect after you redeploy the module or restart the server.
Polling Interval The frequency (in seconds) that WebLogic Server checks the attribute value.
MBean Attribute:
SNMPStringMonitorMBean.PollingInterval
Minimum value:
1
Maximum value:
65535
Changes take effect after you redeploy the module or restart the server.
String to Compare The string against which the value of the monitored attribute will be compared.
A notification is generated when the criteria specified by Notify Match or Notify Differ is satisfied.
MBean Attribute:
SNMPStringMonitorMBean.StringToCompare
Notify Differ Generates a notification if the value of the monitored attribute and the value of String to Compare are different.
MBean Attribute:
SNMPStringMonitorMBean.NotifyDiffer
Notify Match Generates a notification if the value of the monitored attribute and the value of String to Compare are the same.
MBean Attribute:
SNMPStringMonitorMBean.NotifyMatch
- Create string monitors
- Specify MBean instance names
- Target string monitors
- Verify notification generation
- WebLogic SNMP Management Guide
- WebLogic SNMP MIB Reference
![]() |