EM11g: How to discover and monitor Tomcat apache server?
来源:互联网 发布:rar解压缩软件官方 编辑:程序博客网 时间:2024/05/23 13:50
OEM supports monitoring of Tomcat Apache Server
-Version 11.1.0.1.0
-Release 12 (1.0.3.1.0)
-Release 6 (1.0.3.0.0).
Metrics for Tomcat apache server are listed at
http://docs.oracle.com/cd/E11857_01/em.111/e10115/middleware_apache_tomcat.htm#sthref21
Once a Tomcat target is discovered, administrator can generate reports and alerts for this target via OEM.
Reports
Many OOB reports are provided for Apache Tomcat. e.g.
- Apache Tomcat Load - Charts of total load on all global request processors
- All Applications Load- Applications load charts at server level
- Apache Tomcat Thread Pools- Thread pools active threads and total thread charts
- Datasources- Datasources active connections and idle connections charts
- Global Request Processors Load And Performance- Global request processor load and performance charts
- Memory Utilization- Resource utilization charts
- Top 10 Applications Based On Total Sessions- Top 10 applications based on sessions created during the last 24 hours
- Top 10 Servlets Based On Total Requests- Top 10 servlets by number of requests on each servlet during the last 24-hours
Additionally, custom reports can also be generated based on data stored in the Management Repository.
Alerts
One can configure OEM to send alerts notifying the problems with the target. To receive alerts on the console, specify warning and/or critical threshold levels for relevant metrics. To edit a threshold:- Choose Metric and Policy Settings on any target home page.
- From the Metric Thresholds page, one can either modify warning and/or critical thresholds directly from the table. Alternatively, click theEdit icon to access the Edit Advanced Settings page.
An alert is triggered when one of the following conditions is true:
-A metric threshold is reached
-The availability of a monitored service changes
-A metric-specific condition occurs
Deploy the Tomcat Apache plug-in
1. Download the Apache Tomcat plug-in archive file fromhttp://www.oracle.com/technetwork/oem/grid-control/downloads/plugin-apache-tomcat-159957.html.
2. Log in to OEM as a Super Administrator.
3. On the Grid Control Home page, from the upper-right corner of the page, clickSetup.
4. On the Setup Page, from the left panel, clickManagement Plug-ins. The Management Plug-ins page appears.
5. On the Management Plug-ins page, clickImport.
6. On the Import Management Plug-ins page, in the SelectManagement Plug-in Archive section, click Browse and select the plug-in archive.
7. Click List Archive.
8. Select the plug-in and click OK.
9. On the Management Plug-ins page, from the table, find the name of theApache Tomcat target, and click the icon in the Deploy column.
The Deploy Management Plug-in wizard appears.
10. On the Deploy Management Plug-in: SelectTargets page, click Add Agents and select one or more Management Agents to which you want to deploy the plug-in.
The wizard reappears and displays the Management Agents you selected.
11. Click Next, then click Finish.
Note: If you see an error message stating that the preferred credential is not set up, go to thePreferences page and add the preferred credentials for theAgent target type. To access the Preferences page, from the top-right corner of the Grid Control console, selectPreferences.
If there are no errors, then you will see the following screen:
Once the plug-in is deployed, we can add Tomcat instance to monitor it.
Adding Tomcat Instance
1. Login to OEM console. Go to Targets tab, and then the All Targets subtab.
2. On the All Targets page, from the Search list, selectAgent and click Go.
3. From the list Agents displayed in the table, identify theAgent where the Apache Tomcat plug-in is deployed.
4. Click the name of the identified Agent. The Agent Home page appears.
5. On the Agent Home page, in the Monitored Targets section, from the Add list, select theApache Tomcat target type and then click Go.
6. The Add Apache Tomcat page appears.
7. On the Add Apache Tomcat page, provide the following information for the properties:
- Host— Host of the Apache Tomcat instance. This property is MUST.
- JMX Port Number — Remote JMX port. This property is MUST.
- JMX User Name — Required when authentication is enabled for JMX.
- JMX Password — Required when authentication is enabled for JMX.
- Communication Protocol — Communication protocol used by remote JMX client. Do not change the default value specified unless the remote JMX implementation has changed.
- Service Name— JMX service name. Do not change the default value specified unless the remote JMX implementation has changed.
- SSL Trust Store—Required when SSL is enabled for Apache Tomcat.
- SSL Trust Store JMX Password— Required when SSL is enabled for Apache Tomcat.
- Apache Tomcat Version—Version of Apache Tomcat, e.g. 5.0.3, 5.5.23, etc. This property is MUST, and is used to determine the specific performance metrics to be monitored and/or collected.
Note: You must not change the default values of Communication Protocol and Service Name unless the remote JMX
Validating the deployed Plug-in
1. Wait for a few minutes for the plug-in to start collecting data.
2. On the Agent home page, from the Monitored Targets table, click the Apache Tomcat target link.
3. The Apache Tomcat home page appears.
4. Verify that no metric collection errors are reported in theAlerts section.
5. Ensure that reports can be seen and no errors are reported by selecting theReports property page.
- EM11g: How to discover and monitor Tomcat apache server?
- Discover Feature Engineering, How to Engineer Features and How to Get Good at It
- Discover Feature Engineering, How to Engineer Features and How to Get Good at It
- Discover Feature Engineering, How to Engineer Features and How to Get Good at It
- Discover Feature Engineering, How to Engineer Features and How to Get Good at It
- Discover Feature Engineering, How to Engineer Features and How to Get Good at It
- how-to-use-grahite-and-grafana-to-monitor-spark
- How to Uninstall Apache Server
- How To Build Your First Meteor App And Discover Your Inner Artist
- How to Install and Configure the RedBoot ROM Monitor
- How to Configure Tomcat/JBoss and Apache HTTPD for Load Balancing and Failover
- How to configure Apache and Tomcat to realize the load balancing?
- How to configure JMX on Apache Tomcat
- Apache Tomcat 6.0 SSL Configuration HOW-TO
- HOW TO INTEGRATE TOMACAT AND APACHE
- How to set up tomcat with server authentication and client certificate authentication enabled
- How to monitor your website
- How to monitor database change
- Introducing “Razor” – a new view engine for ASP.NET
- 从事程序开发以来,但从未真正做过Java开发—一个Java程序员的心声
- 日期转换为####年##月##日 ##时##分##秒格式
- 模板类成员函数的特化版本选择
- java使用dom4j读取xml的简单例子
- EM11g: How to discover and monitor Tomcat apache server?
- 一种基于有序序列mapjoin的方法
- c 使用libhdfs写数据 配置blocksize
- 把tomcat 的项目移到jboss
- ASP.NET MVC 3: New @model keyword in Razor
- 深入浅出编译原理-2-gcc编译器概览
- ASP.NET MVC 3: Layouts with Razor
- android 4.0 lock screen
- 一步一步复习数据结构和算法基础-栈的简单应用(1)