WebLogic 5.x Application Server Monitor
The SiteScope WebLogic 5.x Application Server Monitor allows you to
monitor the statistics of a WebLogic Servers (versions 5.x) using SNMP. The
error and warning thresholds for the monitor can be set on as many as ten
WebLogic server statistics.
Usage Guidelines
Use the WebLogic 5.x Application Server Monitor to monitor the
content of event logs and other data from WebLogic 5.x Server servers. You
can monitor multiple parameters or counters with a
single monitor instance. This allows you to watch server loading for
performance, availability, and capacity planning. Create a separate
WebLogic 5.x Application Server Monitor instance for each WebLogic 5.x
Server server in your environment.
The following are several key requirements for using the WebLogic 5.x
Application Server Monitor:
-
The WebLogic Server SNMP Agent must be running (StartSNMP.cmd)
together with the WebLogic 5.x servers. The Weblogic server must
NOT have any other vendor's implementation of SNMP installed.
Note: It is not possible to use any other SNMP agent; it
must be the one provided with the Weblogic 5 server software.
Consult the BEA WebLogic Web site for information about running
the SNMP agent.
The following is an example command syntax used to start the
SNMP agent. This example assumes that the WebLogic server and the
SNMP agent are running on the same machine.
Note: This command must be entered as a single command
line. The string is divided here to fit this page:
java -cp \weblogic\lib\weblogicaux.jar;\weblogic\classes
weblogic.SNMPAgent -password password -serverURLs
http://hostname
- If the customer is running the Weblogic SNMP agent on a port other
than the default port, you will need to know the port number and
specify that port number as part of the Host Name entry below.
-
You need to know the index of the OID
corresponding to the object you want to monitor. Several utilities
are available to interact with the WebLogic SNMP agent. One is the
snmpwalk utility. The following is an example command
syntax to run snmpwalk
Note: This command must be entered as a single command
line. The string is divided here to fit the page
java -cp \weblogic\lib\weblogicaux.jar;\weblogic\classes
snmpwalk server_name .1.3.6.1.4.1.140.600.20
The snmp utility will return a listing of Object ID's that
are accessible using the index you entered on the command line (in
this example the index is .1.3.6.1.4.1.140.600.20. The
listings would have the following format :
Object ID: .1.3.6.1.4.1.140.600.20.1.5.10.115.116.97.110.100.97.108.111.110.101.8.109.121.115.101.114.118.101.114
The default run schedule for this monitor is every 10 minutes, but you
can change it to run more or less often using the Update every
setting. Completing the WebLogic 5.x Application Server Monitor Form
To display the WebLogic 5.x Application Server Monitor Form, either
click the Edit link for an existing WebLogic 5.x Application Server
Monitor in a monitor table, or click the add a Monitor link on a
group's detail page and click the Add WebLogic 5.x
Application Server Monitor link.
Complete the items on the WebLogic 5.x Application Server Monitor Form
as follows. When the required items are complete, click the Add
Monitor button.
- Counters
-
Select the server performance parameters or counters you want to
check with this monitor. The table list to the right of this item
displays those currently selected for this monitor. Use the choose
counters link to bring up the counters selection screen. Check or
clear the check boxes on the choose counters screen to select
between one to ten counters to monitor on this server. The
performance parameters or counters available for the WebLogic 5.x
Application Server Monitor include:
- ServerState
- ServerLoginEnable
- ServerMaxHeapSpace
- ServerHeapUsedPct
- ServerQueueLength
- ServerQueueThroughput
- ServerNumEJBDeployment
- ServerNumEJBBeansDeployed
- ServerState
- ServerHeapUsedPct
- ServerQueueLength
- ServerQueueThroughput
- ListenPort
- ListenAdminOK
- ListenState
- CPType
- CPIndex
- Host Name
-
Enter the host name or IP address of the WebLogic 5.x Server Server
server you want to monitor. If the WebLogic SNMP agent is
configured to answer on a port number other than the default port,
include the port number as part of the host name entered here. For
example, 123.45.67.250:700.
- Index
-
Enter the index of the SNMP object you want to check with this
monitor. For WebLogic 5.x Servers, the index value can NOT be zero.
The following explains more about working with WebLogic SNMP
OIDs.
The WebLogic snmpwalk utility can be used to display a
listing of OIDs available on a Web Logic 5.x server. This listing
can be used to determine the index of the objects you want to
monitor. An example of the command line used to run the utility (on
the server where the WebLogic application is running) is as
follows:
java -cp \weblogic\lib\weblogicaux.jar;\weblogic\classes snmpwalk <hostname> .1.3.6.1.4.1.140.600.20
The snmpwalk utility will output a list of OIDs. The OIDs
generally have the format of those in the following examples:
Object ID: .1.3.6.1.4.1.140.600.20.1.5.10.115.116.97.110.100.97.108.111.110.101.8.109.121.115.101.114.118.101.114
STRING: standalone
Object ID: .1.3.6.1.4.1.140.600.20.1.10.10.115.116.97.110.100.97.108.111.110.101.8.109.121.115.101.114.118.101.114
STRING: myserver
Object ID: .1.3.6.1.4.1.140.600.20.1.15.10.115.116.97.110.100.97.108.111.110.101.8.109.121.115.101.114.118.101.114
STRING: hostname
...
The OID of the counters available for monitoring with the
SiteScope WebLogic 5.x Monitor corresponds to the
1.3.6.1.4.1.140.600.20.1.nn portion of the OID. The
remaining portion of the OID
(10.115.116.97.110.100.97.108.111.110.101.8.109.121.115.101.114.118.101.114
in this example) is considered the index and must be entered in the
Index box.
Note: The index for different WebLogic 5.x counters may
be different from one OID to another. Be sure the index you enter
for the monitor you are creating is the index for the object or
objects you want to monitor. Multiple counters can be selected with
this monitor, but you must insure that all selected counters use
the same index.
- Community
-
Enter the community name of the WebLogic 5.x Server Server you want
to monitor. The public community is the default. You may
need to consult with your network administrators about what
community names are active in your network environment
- Update every
-
Select how often the monitor should read the server statistics.
The default interval is to run or update the monitor once every 10 minutes.
Use the drop-down list to the right of the text box to specify another update
interval in increments of seconds, minutes, hours, or days. The update interval
must be 15 seconds or longer.
- Title
-
Enter a title text for this monitor. This text is displayed in the
group detail page, in report titles, and other places in the SiteScope
interface. If you do not enter a title text, SiteScope will
create a title based on the host, server, or URL being monitored.
Advanced Options
The Advanced Options section presents a number of ways to customize
monitor behavior and display. Use this section to customize error and warning
thresholds, disable the monitor, set monitor-to-monitor dependencies, customize
display options, and enter other monitor specific settings required for
special infrastructure environments. The options for this monitor type are
described below. Complete the entries as needed and click the Add
or Update button to save the settings.
- Disable
-
Check this box to temporarily disable this monitor and any
associated alerts. To enable the monitor again, clear the box.
- Retry Delay
-
Enter the time, in seconds, that SiteScope should wait before
retrying a request.
- Timeout
-
Enter the total time, in seconds, that SiteScope should wait for a
successful reply from the Weblogic server. If a reply is not
received in the time indicated, the monitor returns a timeout
error.
- Verify Error
-
Check this box if you want SiteScope to automatically run this
monitor again if it detects an error. When an error is detected,
the monitor will immediately be scheduled to run again once.
Note: In order to change the run frequency of this
monitor when an error is detected, use the Update every (on
errors) option below.
Note: The status returned by the Verify Error run
of the monitor will replace the status of the originally scheduled
run that detected an error. This may cause the loss of important
performance data if the data from the verify run is different than
the initial error status.
Warning: Use of this option across many monitor instances
may result in significant monitoring delays in the case that
multiple monitors are rescheduled to verify errors at the same
time.
- Update Every (on error)
-
You use this option to set a new monitoring interval for
monitors that have registered an error condition. For example, you
may want SiteScope to monitor this item every 10 minutes normally,
but as often as every 2 minutes if an error has been detected. Note
that this increased scheduling will also affect the number of
alerts generated by this monitor.
- Schedule
-
By default, SiteScope monitors are enabled every day of the
week. You may, however, schedule your monitors to run only on
certain days or on a fixed schedule. Click the Edit
schedule link to create or edit a monitor schedule.
For more information about working with monitor schedules,
see the section on Schedule
Preferences for Monitoring.
- Monitor Description
-
Enter additional information about this monitor. The Monitor
Description can include HTML tags such as the <BR>
<HR>, and <B> tags to control display format and style.
The description will appear on the Monitor Detail page.
- Report Description
-
Enter an optional description for this monitor that will make it easier to
understand what the monitor does. For example, network traffic or
main server response time. This description will be displayed on
with each bar chart and graph in Management Reports and appended to
the tool-tip displayed when you pass the mouse cursor over the
status icon for this monitor on the monitor detail page.
- Depends On
-
To make the running of this monitor dependent on the status of
another monitor or monitor group, use the drop-down list to select
the monitor on which this monitor is dependent. Select
None to remove any dependency.
- Depends Condition
-
If you choose to make the running of this monitor dependent on the
status of another monitor, select the status condition that the
other monitor or monitor group should have in order for the current
monitor to run normally. The current monitor will be run normally
as long as the monitor on which it depends reports the
condition selected in this option.
- List Order
-
By default, new monitors are listed last on the Monitor Detail
page. You may use this drop-down list to choose a different
placement for this monitor.
Setting Monitor Status Thresholds
SiteScope Application Monitors allow you to set multiple threshold
conditions to determine the status reported by each monitor. The individual
conditions are combined as logical OR relationships so that when one or
more of the conditions (for example any of the conditions for Error
if) are met the monitor status is set to the applicable condition. If
multiple conditions are met for more than one status condition (such as
conditions for both error and for warning), the status for the monitor is
set to the highest valued condition. Thus a match of an error condition and
a warning condition would be reported as an error status, error
being the highest value, warning the next highest and good
the lowest value.
- Error if
-
Use one or more of the selection boxes in this item to define one
or more error conditions for this monitor. Use the drop-down lists
in these items to change error threshold(s) relative to the
counters you have selected to check
with this monitor. After choosing a counter or parameter, use
the comparison operator drop-down list to specify an error
threshold such as: >= (greater than or equal to), != (not
equal to), or < (less than) and enter a comparison value in
the box provided. Comparison values should be entered as whole
numbers.
- Warning if
-
Use one or more of the selection boxes in this item to define one
or more warning conditions for this monitor. Use the drop-down
lists in these items to change warning threshold(s) relative to the
counters you have selected to check with
this monitor. Set these values relative to those you set for the
error threshold in the Error if item.
-
- Good if
-
You can set this monitor to return a good status for certain
conditions. You may define those conditions here. Complete this
item as you would for the Error if and Warning if
items.
|