Download presentation
Presentation is loading. Please wait.
Published byNoah Ward Modified over 9 years ago
1
The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager
2
2 The Professional Open Source™ Company Agenda Supported versions of AWS Configuring AWS for management Supported Metrics and Control Actions Metric Data Collection, Control, and Alerting
3
3 The Professional Open Source™ Company Supported Versions of AWS Supported on UNIX (Linux, Solaris, HP/UX) and Windows: Apache Web Server 1.3.x 2.0.x Covalent Enterprise Ready Server (ERS) 2.3 2.4
4
4 The Professional Open Source™ Company Setting up AWS in JBN EM Steps are as follows Install AWS on a JBN EM-managed platform Prepare AWS for management via JBN EM Start the JBN EM agent on the host running AWS Launch the JBN EM Console and run a new auto- discovery scan on the platform Import the AWS instance Complete resource configuration for the AWS server and virtual hosts Exercise the AWS instance
5
5 The Professional Open Source™ Company Preparing AWS for management AWS instances support monitoring capabilities via third party DSO’s/modules: SNMP module (mandatory) RT module (needed for response time collection) Installing a module in AWS: Getting a copy of the binary Copying the module under the AWS installation Updating AWS configuration to use the module
6
6 The Professional Open Source™ Company Installing SNMP/RT modules into AWS on UNIX SNMP/RT modules can be built from the JBN EM full/agent distributions on UNIX. Prerequisite: AWS must have been configured with --enable-so for the SNMP and RT modules to be installed. A. SNMP Module: 1. Compile and deposit the SNMP module. cd JBNEM_AGENT_INSTALL_DIR % tar –zxf jbn-em-agent-jboss-1.0.xx/product_connectors/snmp-jboss-1.0.xx.tgz % cd snmp-jboss-1.0.xx %./build_apache_snmp.sh 2.0 APACHE_INSTALL_DIR/bin/apxs % cp snmp_module_2.0/module/*.so APACHE_INSTALL_DIR/modules % cp snmp_module_2.0/conf/snmpd.conf APACHE_INSTALL_DIR/conf % mkdir APACHE_INSTALL_DIR/var 2. Edit APACHE_INSTALL_DIR/conf/httpd.conf, adding: LoadModule snmpcommon_module modules/libsnmpcommon.so LoadModule snmpagt_module modules/libsnmpmonagt.so SNMPConf conf SNMPVar var ServerName www.mydomain.com:80 (use appropriate domain name and port number) 3.Restart AWS % APACHE_INSTALL_DIR/bin/apachectl restart
7
7 The Professional Open Source™ Company Installing SNMP/RT modules in AWS on UNIX (continued) B. RT Module 1. Compile and deposit the module: cd JBNEM_AGENT_INSTALL_DIR % tar –zxf jbn-em-agent-jboss-1.0.xx/product_connectors/rt-jboss-1.0.xx.tgz % cd rt-jboss-1.0.xx %./build_apache_module.sh 2.0 APACHE_INSTALL_DIR/bin/apxs % cp apache2.0/unix/.libs/mod_rt.so APACHE_INSTALL_DIR/modules 2. Edit APACHE_INSTALL_DIR/conf/httpd.conf, adding: LoadModule rt_module modules/mod_rt.so LogFormat "%S" rt_log CustomLog logs/rt_log rt_log 3.Restart the AWS % APACHE_INSTALL_DIR/bin/apachectl restart
8
8 The Professional Open Source™ Company Installing SNMP/RT modules into AWS on Windows Pre-built SNMP/RT modules are included in the JBN EM full/agent distributions on Windows. 1.Unzip the file JBNEM_INSTALL_DIR\product_connectors\apache-2.0-x86-winnt.zip to APACHE_INSTALL_DIR 2.Edit APACHE_INSTALL_DIR\conf\httpsd.conf to add: LoadModule snmpcommon_module modules/libsnmpcommon.so LoadModule snmpagt_module modules/libsnmpmonagt.so SNMPConf conf SNMPVar var LoadModule rt_module modules/mod_rt.so LogFormat "%S" rt_log CustomLog logs/rt_log rt_log ServerName www.mydomain.com:80 (use appropriate domain name and port number)www.mydomain.com:80 3.Restart AWS
9
9 The Professional Open Source™ Company Importing AWS into JBN EM inventory Make sure AWS and JBN EM agent are running on the managed platform Launch JBN EM console Run auto-discovery Import AWS into the inventory
10
10 The Professional Open Source™ Company Auto-discovered AWS instance
11
11 The Professional Open Source™ Company Completing configuration of AWS resources Was AWS pre-configured for management? Yes Sanity check on console Configure virtual host resources No Perform configuration from scratch Import discovered virtual hosts Configure virtual host resources
12
12 The Professional Open Source™ Company Verify AWS server configuration Configure AWS server resource Go to the Inventory/Configuration page for the AWS server Configuration settings are displayed on the page Click on the EDIT button under the section titled “Configuration Properties” Enable auto-discovery of virtual hosts
13
13 The Professional Open Source™ Company Configuration settings of the AWS server
14
14 The Professional Open Source™ Company Modifying AWS server configuration
15
15 The Professional Open Source™ Company Instructions for installing SNMP modules
16
16 The Professional Open Source™ Company Configuring AWS virtual hosts Go to the Inventory/Configuration page for the AWS virtual host Verify/modify configuration settings Optionally enable service response time collection
17
17 The Professional Open Source™ Company Configuration settings of a virtual host
18
18 The Professional Open Source™ Company Modifying virtual host configuration
19
19 The Professional Open Source™ Company Instructions for installing the Response Time module
20
20 The Professional Open Source™ Company Components of AWS Monitoring Metric data collection Control Alerting
21
21 The Professional Open Source™ Company Metric Data Collection Each version of AWS has a “universe” of metrics Server metrics: Availability availability start time Throughput Number of GET requests per minute, Total number of requests per minute, Total number of bytes sent etc. Resource Utilization Number of concurrent connections Virtual host metrics: Availability availability Throughput Number of GET requests per minute, Total number of requests per minute, Total number of bytes sent etc. Response Time service time
22
22 The Professional Open Source™ Company List of Apache server metrics
23
23 The Professional Open Source™ Company Enabling metric data collection Configuration supports: Selection of metrics for collection specifying the collection interval Modifying collection interval for metric Disabling collection for metric
24
24 The Professional Open Source™ Company Selecting metrics and collection intervals
25
25 The Professional Open Source™ Company Viewing metric data
26
26 The Professional Open Source™ Company Metric data in chart form
27
27 The Professional Open Source™ Company Response time stats for virtual host
28
28 The Professional Open Source™ Company Control Actions on AWS resources Server Start Stop Restart Virtual Host None
29
29 The Professional Open Source™ Company Scheduling a control action
30
30 The Professional Open Source™ Company Alerts on AWS resources Full range of alerting semantics apply to AWS resources Alerts Can be defined on any metric on AWS server AWS virtual hosts Can be combined with control actions on AWS server
31
31 The Professional Open Source™ Company Defining an Apache server alert
32
32 The Professional Open Source™ Company Defining a recovery alert
33
33 The Professional Open Source™ Company Trigger notification on Dashboard for problem alert
34
34 The Professional Open Source™ Company Trigger notification on Dashboard for recovery alert
35
35 The Professional Open Source™ Company Review We’ve covered The inventory and configuration of AWS and embedded services Metric data collection and display Performing control actions Creating alerts on metric values
36
36 The Professional Open Source™ Company Thanks for your time! Q & A
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.