Big Open test: performance-How to monitor Web Application server resources (serialized 25)

Source: Internet
Author: User
Tags snmp snmp port websphere application server

7.25 How to implement monitoring of Web application server resources 1. Questions raised

How do I monitor Web application server resources?

2. Answer questions

You can use the LoadRunner Web Application Server Resource Monitor to monitor Web application servers during a scenario or session step run and isolate application server performance bottlenecks.

The Web Application Server Resource Monitor provides scenarios or session steps during execution, about Ariba, ATG Dynamo, BroadVision, ColdFusion, Fujitsu interstage, IPlanet (NAS), Information about Microsoft ASP, Oracle9iAS HTTP, Silverstream, WebLogic (SNMP), WebLogic (JMX), and WebSphere Application Server resource utilization. To obtain performance data, you need to activate the server's online monitor and specify the resources to measure before you perform the scenario or session steps.

The process for selecting the monitor metric and configuration monitor varies by server type. Below we will explain in detail in microsoftasp, WebLogic (SNMP) two Web Application Server Resource Monitor.

(1) microsoftactive Server Pages (Microsoft ASP) monitoring.

Microsoft activeserver pages Monitoring is similar to the monitoring of the preceding Windows performance counters. After the scene executes, in the Web Application Server graphs list, double-click the Microsoft Active Server pages Item, right-clicking in the blank area below, and clicking "Add measurements ..." in the pop-up menu. button, shown in 7-46.

The next action is similar to the monitoring procedure for the Windows performance counters described earlier, adding, in turn, the server IP address to be monitored and the Microsoftactive Server Pages performance counter to be measured, as shown in 7-47. You can then close the appropriate window to monitor the performance counters for Microsoft Active Server pages, which is not covered in this section because the previous sections have been described in more detail.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8E/FC/wKiom1jQv1HwDrugAACPZtwWs60197.png-wh_500x0-wm_ 3-wmp_4-s_2781409495.png "title=" 7-46.png "width=" + "height=" 202 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width : 250px;height:202px; "alt=" wkiom1jqv1hwdrugaacpztwws60197.png-wh_50 "/> 650" this.width=650; "src=" https: S2.51cto.com/wyfs02/m00/8e/fa/wkiol1jqv2kaipahaaa4hip6vvy013.png-wh_500x0-wm_3-wmp_4-s_312451925.png "Title=" 7-47.png "width=" "height=" 291 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:250px;height:291px; "alt=" Wkiol1jqv2kaipahaaa4hip6vvy013.png-wh_50 "/>

Figure 7-46 Microsoft Active Server pages monitor diagram 7-47 microsoftactive Server pages dialog box

Here are some of the Microsoft Active Server Pages Performance counter metrics for your reference, as shown in table 7-7.

Table 7-7 Microsoft activeserver pages Performance Counters list

Measure

Description

Errors per Second

Number of errors per second

Requests Wait Time

The number of milliseconds the latest request waits in the queue

Requests executing

Number of requests currently executing

Requests Queued

Number of requests waiting for service in the queue

Requests rejected

Total number of requests not executed due to insufficient resources to process

Requests not Found

Number of file requests not found

Requests/sec

Number of requests executed per second

Memory Allocated

Total memory currently allocated by Active Server pages (bytes)

Errors During Script Run-time

The number of requests that failed due to a run-time error

Sessions Current

The number of sessions currently receiving services

Transactions/sec

Number of transactions initiated per second

(2) WebLogic (SNMP) monitoring.

WebLogic (SNMP) monitoring is similar to the previous monitoring of Windows performance counters. After the scene executes, in the Web application Server graphs list, double-click the WebLogic (SNMP) entry, right-clicking in the blank area below, and clicking the "ADD Measurements ..." button in the pop-up menu, shown in 7-48.

The next action is similar to the previous monitoring of the Windows performance counters, adding the server IP addresses to be monitored, followed by the Resource measurements on:192.168.1.156 in the WebLogic (SNMP) dialog box (192.168.1.156 This IP is an example of the author's experiment, the address of the reader may not be the IP) section, click the "Add" button. In the pop-up Weblogic SNMP Resources dialog box, select Performance counters, as shown in 7-49, when you finish adding performance counters, you can monitor the Weblogic (SNMP) counters by closing the corresponding dialog box.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/8E/FC/wKiom1jQv6iSKKCNAADEkchdvXk657.png-wh_500x0-wm_ 3-wmp_4-s_4090840573.png "style=" width:250px;height:181px; "title=" 7-48.png "width=" [height=] 181 "border=" 0 " Hspace= "0" vspace= "0" alt= "wkiom1jqv6iskkcnaadekchdvxk657.png-wh_50"/> 650) this.width=650; "Src=" https://s5. 51cto.com/wyfs02/m01/8e/fc/wkiom1jqv6jcvgkzaaaqbh3_2me989.png-wh_500x0-wm_3-wmp_4-s_2707899570.png "Style=" WIDTH:250PX;HEIGHT:174PX, "title=" 7-49.png "width=" "height=," 174, "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1jqv6jcvgkzaaaqbh3_2me989.png-wh_50 "/>


Figure 7-48 WebLogic (SNMP) monitor diagram 7-49 WebLogic SNMP Resources dialog box

"Key Tips"

(1) If the WebLogic SNMP agent is running on a different port instead of the default SNMP port, you must define the port number. When adding a computer, you need to enter "server name/IP address" + ":" + "port number", for example, 192.168.1.156:8345. You can also define the default port for the WebLogic server in Profile Snmp.cfg, which is located in the \\dat\\monitors directory of the LoadRunner installation directory. For example, if the SNMP agent uses a port of 8345 on the WebLogic server, edit the Snmp.cfg file, and the port portion of the ";" Comment out, write 8345 after "port=", and the code looks like this:

; Weblogic

[Cm_snmp_mon_isp]

port=8345

Of course, here is only one example, need to be based on the user's actual situation to set the corresponding.

(2) the WebLogic (SNMP) monitor can monitor up to 25 metrics.

For more information, please pay attention to the big open technology public number or the official website

www.dakaikeji.com.cn

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/15184/201703/15184-20170306160647781-2071602812. PNG "style=" padding:0px;margin:0px;vertical-align:top;border:0px; "/>


Big Open test: performance-How to monitor Web Application server resources (serialized 25)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.