the professional open source™ company apache web server (aws) monitoring jbossnetwork enterprise...
TRANSCRIPT
![Page 1: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/1.jpg)
The Professional Open Source™ Company
Apache Web Server (AWS) Monitoring
JBossNetwork Enterprise Manager
![Page 2: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/2.jpg)
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
![Page 3: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/3.jpg)
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
![Page 4: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/4.jpg)
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
![Page 5: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/5.jpg)
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
![Page 6: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/6.jpg)
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
![Page 7: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/7.jpg)
7 The Professional Open Source™ Company
Installing SNMP/RT modules in AWS on UNIX (continued)
B. RT Module1. 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
![Page 8: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/8.jpg)
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
toAPACHE_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_logCustomLog logs/rt_log rt_log
ServerName www.mydomain.com:80 (use appropriate domain name and port number)
3. Restart AWS
![Page 9: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/9.jpg)
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
![Page 10: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/10.jpg)
10 The Professional Open Source™ Company
Auto-discovered AWS instance
![Page 11: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/11.jpg)
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
![Page 12: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/12.jpg)
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
![Page 13: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/13.jpg)
13 The Professional Open Source™ Company
Configuration settings of the AWS server
![Page 14: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/14.jpg)
14 The Professional Open Source™ Company
Modifying AWS server configuration
![Page 15: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/15.jpg)
15 The Professional Open Source™ Company
Instructions for installing SNMP modules
![Page 16: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/16.jpg)
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
![Page 17: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/17.jpg)
17 The Professional Open Source™ Company
Configuration settings of a virtual host
![Page 18: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/18.jpg)
18 The Professional Open Source™ Company
Modifying virtual host configuration
![Page 19: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/19.jpg)
19 The Professional Open Source™ Company
Instructions for installing the Response Time module
![Page 20: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/20.jpg)
20 The Professional Open Source™ Company
Components of AWS Monitoring
• Metric data collection• Control• Alerting
![Page 21: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/21.jpg)
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
![Page 22: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/22.jpg)
22 The Professional Open Source™ Company
List of Apache server metrics
![Page 23: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/23.jpg)
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
![Page 24: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/24.jpg)
24 The Professional Open Source™ Company
Selecting metrics and collection intervals
![Page 25: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/25.jpg)
25 The Professional Open Source™ Company
Viewing metric data
![Page 26: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/26.jpg)
26 The Professional Open Source™ Company
Metric data in chart form
![Page 27: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/27.jpg)
27 The Professional Open Source™ Company
Response time stats for virtual host
![Page 28: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/28.jpg)
28 The Professional Open Source™ Company
Control Actions on AWS resources
• Server Start Stop Restart
• Virtual Host None
![Page 29: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/29.jpg)
29 The Professional Open Source™ Company
Scheduling a control action
![Page 30: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/30.jpg)
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
![Page 31: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/31.jpg)
31 The Professional Open Source™ Company
Defining an Apache server alert
![Page 32: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/32.jpg)
32 The Professional Open Source™ Company
Defining a recovery alert
![Page 33: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/33.jpg)
33 The Professional Open Source™ Company
Trigger notification on Dashboard for problem alert
![Page 34: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/34.jpg)
34 The Professional Open Source™ Company
Trigger notification on Dashboard for recovery alert
![Page 35: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/35.jpg)
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
![Page 36: The Professional Open Source™ Company Apache Web Server (AWS) Monitoring JBossNetwork Enterprise Manager](https://reader036.vdocuments.net/reader036/viewer/2022062407/56649d935503460f94a7ad05/html5/thumbnails/36.jpg)
36 The Professional Open Source™ Company
Thanks for your time!
Q & A