WebLogic thread pool monitoring method and device

By crawling the WebLogic console login information and analyzing the thread monitoring page, the problem that WebLogic users have difficulty obtaining thread pool information is solved, real-time monitoring and early warning of thread pools is realized, and the usage efficiency and operation and maintenance convenience of thread pools are improved.

CN118964124APending Publication Date: 2024-11-15WUHAN ZBANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410986436.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

WebLogic users find it difficult to directly obtain thread pool information through the WebLogic server itself, which leads to inconvenient thread pool monitoring, especially when a large number of concurrent requests may cause blockage, and real-time monitoring is required for tuning, but most of the existing technologies rely on the provider from the background. It is difficult to achieve real-time monitoring when obtaining information.

Method used

By crawling the login information of the WebLogic console, using crawling technology to access the thread monitoring page, parse the page information to obtain the occupancy information of the thread pool, and generate alarm information based on the occupancy rate, and send it to the operation and maintenance service platform to realize real-time WebLogic thread pool monitor.

Benefits of technology

Real-time monitoring of WebLogic thread pool is realized, reducing the burden of human resources. Providers do not need to stay in for a long time. Users can obtain thread pool information by themselves, which facilitates the tuning and early warning processing of thread pools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964124A_ABST
    Figure CN118964124A_ABST
Patent Text Reader

Abstract

The invention provides a WebLogic thread pool monitoring method and device. The method comprises the following steps: crawling to obtain WebLogic console login information at preset time intervals; requesting a WebLogic thread to monitor a page through the login information, and obtaining returned page information; and acquiring occupation information of the WebLogic thread pool from the page information. According to the method, the login information of the WebLogic console is obtained through crawling, then the thread monitoring page of the WebLogic is obtained through the request of the login information, and the occupation information of the WebLogic thread pool is obtained from the returned page information, so that the method for obtaining the corresponding thread pool information through the front-end static page is realized; and the user of the WebLogic application service can conveniently realize the real-time monitoring on the WebLogic thread pool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information monitoring, and in particular to a WebLogic thread pool monitoring method and device. Background Art

[0002] WebLogic is a Java EE (Java Platform, Enterprise Edition) application server, and its thread pool is used to process client requests. When the thread pool is blocked, it means that all threads are occupied and cannot process new requests.

[0003] Specifically, when a large number of concurrent requests arrive at the server at the same time, the thread pool may be exhausted, resulting in blocking. Long-running tasks: If a task in the thread pool takes a long time to complete, it will occupy a thread in the thread pool, causing other requests to not be processed in time. Therefore, it is necessary to monitor the real-time occupancy status of WebLogic's thread pool so that operation and maintenance personnel can make adjustments based on the monitoring results.

[0004] However, for the user of WebLogic, that is, the provider of non-WebLogic server, it is difficult to directly obtain the thread pool information of WebLogic from the background of WebLogic, that is, it is difficult to obtain the thread pool information of WebLogic through the WebLogic server itself. Summary of the invention

[0005] The present invention provides a WebLogic thread pool monitoring method and device, which are used to solve the defect in the prior art that it is difficult for a WebLogic user to directly obtain WebLogic thread pool information through a WebLogic server itself, and realize a WebLogic thread pool monitoring method that is convenient for users.

[0006] The present invention provides a WebLogic thread pool monitoring method, comprising: Crawl and obtain WebLogic console login information at preset intervals; Requesting the thread monitoring page of WebLogic through the login information, and obtaining the returned page information; The occupancy information of the WebLogic thread pool is obtained from the page information.

[0007] According to a WebLogic thread pool monitoring method provided by the present invention, the step of crawling and obtaining WebLogic console login information at preset intervals specifically includes: Construct request parameters based on WebLogic login username and password; The login address of the WebLogic is accessed through crawler technology based on the request parameters, and the returned login cookies are used as the login information.

[0008] According to a WebLogic thread pool monitoring method provided by the present invention, the step of requesting a thread monitoring page of WebLogic through the login information and obtaining the returned page information specifically includes: The login information is set as an access token, and the thread monitoring page of WebLogic is accessed; Get the returned page information.

[0009] According to a WebLogic thread pool monitoring method provided by the present invention, the step of obtaining the WebLogic thread pool occupancy information from the page information specifically includes: Use a parser and configure regular expressions; The information matching the regular expression is obtained from the page information as the occupancy information of the WebLogic thread pool.

[0010] A WebLogic thread pool monitoring method provided by the present invention also includes: Determine occupancy information of the WebLogic thread pool based on the occupancy information; Generate alarm information based on the occupancy information, and send the alarm information to the operation and maintenance service platform.

[0011] According to a WebLogic thread pool monitoring method provided by the present invention, the occupancy information includes the execution thread occupancy, the queue length occupancy and the exclusive thread occupancy, and the step of generating alarm information based on the occupancy information specifically includes: When any one of the execution thread occupancy rate, the queue length occupancy rate and the exclusive thread occupancy rate exceeds the corresponding preset occupancy rate threshold, the alarm information is generated.

[0012] The present invention also provides a WebLogic thread pool monitoring device, comprising: The login information acquisition module is used to crawl and obtain the WebLogic console login information at preset intervals; A page information acquisition module, used to request the thread monitoring page of WebLogic through the login information, and obtain the returned page information; The occupancy information acquisition module is used to obtain the occupancy information of the WebLogic thread pool from the page information.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned WebLogic thread pool monitoring methods is implemented.

[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the WebLogic thread pool monitoring method described in any one of the above is implemented.

[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned WebLogic thread pool monitoring methods.

[0016] The WebLogic thread pool monitoring method and device provided by the present invention obtain WebLogic console login information by crawling, and then request the WebLogic thread monitoring page through the login information, and obtain the occupancy information of the WebLogic thread pool from the returned page information, thereby realizing a method for obtaining corresponding thread pool information through a front-end static page, which is convenient for users of WebLogic application services to realize real-time monitoring of the WebLogic thread pool. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 This is one of the flow charts of the WebLogic thread pool monitoring method provided by the present invention; Figure 2 It is a schematic diagram of the process of obtaining console login information in the WebLogic thread pool monitoring method provided by the present invention; Figure 3 It is a schematic diagram of the process of obtaining page information in the WebLogic thread pool monitoring method provided by the present invention; Figure 4 It is a structural schematic diagram of the WebLogic thread pool monitoring device provided by the present invention; Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be noted that most of the existing WebLogic thread pool monitoring methods are based on the provider of WebLogic application services, and the provider obtains WebLogic thread pool related information from the WebLogic service background. However, for WebLogic users, WebLogic background information is unknown, and it is difficult for users to obtain thread pool related information from the server background.

[0021] Even though WebLogic users can view thread pool related information in real time on a web page by logging into the WebLogic console, monitoring thread pool occupancy is a long-term continuous process. Regularly checking thread pool occupancy information by manpower will undoubtedly cause a burden and waste of human resources.

[0022] In addition, although WebLogic users can obtain thread pool occupancy information by communicating with service providers, on the one hand, it is usually difficult for service providers to stay on site at users for a long time to provide relevant services to users. On the other hand, when users have multiple different WebLogic application services, they also need to obtain thread pool occupancy information from different service providers. Therefore, for users of WebLogic application services, it is inconvenient to obtain and monitor information related to WebLogic thread pools.

[0023] Combine the following Figures 1 to 3 The WebLogic thread pool monitoring method and device of the present invention are introduced as follows: Figure 1 As shown, the method includes: Step 101, crawling and obtaining WebLogic console login information at preset intervals; Specifically, the WebLogic console login information is obtained through crawling technology.

[0024] Optionally, the WebLogic console login information is a login cookie (a small text file). The cookie contains information including a session identifier, which is used to identify and track users in order to keep them logged in as they visit different pages of a website or at different points in time.

[0025] This allows access to WebLogic's thread monitoring page based on cookies.

[0026] Optionally, in a feasible implementation, WebLogic console login information is obtained at preset intervals, and the preset interval can be determined based on the monitoring requirements for thread pool occupancy information. The preset interval in this application is 5 minutes.

[0027] Step 102, requesting the thread monitoring page of WebLogic through the login information, and obtaining the returned page information; Use the obtained login information to request access to the WebLogic thread monitoring page, and in the case of a successful response, obtain the page information in HTML format returned.

[0028] The thread monitoring page of WebLogic is the web page after logging into the WebLogic console, which contains relevant information of the thread pool and other background control and management information.

[0029] Therefore, the returned page information includes relevant information of the thread pool.

[0030] Step 103: Obtain the occupancy information of the WebLogic thread pool from the page information.

[0031] The obtained html page information is parsed to obtain the WebLogic thread pool related information, and then the thread pool occupancy information is sorted out.

[0032] Optionally, the obtained page information is matched by constructing a regular expression, and the matched information is used as the thread pool occupancy information. The regular expression is constructed based on the display mode of the thread pool occupancy information.

[0033] Optionally, the thread pool occupancy information includes at least information about the number of execution threads, queue length, and the number of exclusive threads.

[0034] The present invention obtains WebLogic console login information by crawling, and then requests WebLogic's thread monitoring page through the login information, and obtains WebLogic thread pool occupancy information from the returned page information, thereby realizing a method for obtaining corresponding thread pool information through a front-end static page, which is convenient for users of WebLogic application services to realize real-time monitoring of WebLogic thread pools.

[0035] In the WebLogic thread pool monitoring method of the present invention, the step of crawling and obtaining WebLogic console login information at preset intervals specifically includes: Construct request parameters based on WebLogic login username and password; Use the WebLogic login username and password as request parameters, use www-form-urlencoded as the header type, set the character set to "UTF-8", and write the header in a typical format. The resulting request parameter content is as follows: {'Content-Type': 'application / x-www-form-urlencoded', 'User-Agent': self.ua_info}.

[0036] The ua_info in the formula refers to the proxy pool of the access end, which prevents the IP from being blocked due to crawler access.

[0037] The login address of the WebLogic is accessed through crawler technology based on the request parameters, and the returned login cookies are used as the login information.

[0038] Access the weblogic login address through python crawler technology and make a request in the following way: requests.post(url=login address,headers=header, data=self.data, allow_redirects=False).

[0039] Among them, data is a parameter required by the request, that is, a pre-built request parameter, representing the login username and password of WebLogic. allow_redirects is a parameter for ignoring redirects.

[0040] like Figure 2 As shown, if the request is successful, the returned login cookies can be obtained as login information; if the request fails, the request will continue to be made after a preset time interval to obtain the login cookies.

[0041] In a specific implementation, when the returned request return code is 200 or 301, the request is considered successful and the login cookies can be obtained; otherwise, the request fails and waits for the next acquisition.

[0042] In the WebLogic thread pool monitoring method of the present invention, the step of requesting the WebLogic thread monitoring page through the login information and obtaining the returned page information specifically includes: The login information is set as an access token, and the thread monitoring page of WebLogic is accessed; Optionally, the login information is login cookies, and the obtained login cookies are set as access tokens to access the thread monitoring page of WebLogic.

[0043] In one possible implementation, access is requested as follows: request.build_opener(request.HTTPCookieProcessor(cookies)); The cookies in brackets are pre-acquired login cookies, and the required request parameters are: page tag ServerMonitoringThreadsPage, which is used as the suffix information of the data page and is accessed directly.

[0044] request.Request(url=address of data page, headers=headers used by crawler to access weblogic login address).

[0045] The data page is the thread monitoring page of WebLogic that is requested to be accessed.

[0046] Get the returned page information.

[0047] like Figure 3 As shown, if the response to the request instruction is successful, the page information of the returned WebLogic thread monitoring page can be obtained. If the response to the request instruction fails, the access is continued based on the new login information after a preset time interval.

[0048] In a specific implementation, when the response parameter returns 200, it indicates a successful response; otherwise, it indicates a failed response.

[0049] In the WebLogic thread pool monitoring method of the present invention, the step of obtaining the occupancy information of the WebLogic thread pool from the page information specifically includes: Use a parser and configure regular expressions; The information matching the regular expression is obtained from the page information as the occupancy information of the WebLogic thread pool.

[0050] The parser is an HTML format parser, and optionally, it can be an lxml module. The lxml module is a Python module for parsing HTML or XML files, similar to regular expressions, and can filter out specified data information from a large number of XML format files.

[0051] In this application, the regular expression used is constructed as follows: / / form[@id="threadpool"] / div[@class="tablectrl"] / table[@id="threadpooltable"], . / / tr / th[@scope="col"] / a / text(), . / / tr[@class="rowEven"] / td / text(); In the formula, the parse_html.xpath method is used to obtain the data information matched by the regular expression. Specifically, the specified number of execution threads, queue length, and exclusive thread number information are obtained as the occupancy information of the WebLogic thread pool.

[0052] Among them, xpath is a tool for searching and matching element nodes in html. In this embodiment, it is used to match the xml content of the number of execution threads, queue length, number of exclusive threads, and thread pool utilization.

[0053] In the WebLogic thread pool monitoring method of the present invention, the occupancy information of the WebLogic thread pool is determined based on the occupancy information; Furthermore, by searching the information in the WebLogic configuration file, the maximum number of threads of WebLogic is obtained, so as to calculate the occupancy information of the WebLogic thread pool.

[0054] Specifically, the maximum number of execution threads, the maximum queue length, and the maximum number of exclusive threads of the WebLogic thread pool are obtained through the configuration file, and the number of execution threads, the queue length, and the number of exclusive threads of the thread pool are obtained in real time through the front-end static web page.

[0055] The ratio of the number of execution threads obtained in real time to the maximum number of execution threads is calculated as the execution thread occupancy rate; the ratio of the queue length obtained in real time to the maximum queue length is calculated as the queue length occupancy rate; the number of exclusive threads obtained in real time and the maximum number of exclusive threads are calculated as the exclusive thread occupancy rate.

[0056] The calculated queue length occupancy, execution thread occupancy and exclusive thread occupancy are used as occupancy information.

[0057] In a specific implementation, the total number of threads in the configuration file is 200, so the thread usage rate is: the number of execution threads obtained in real time / 200×100%, and two decimal places must be retained at the end, where the queue length and exclusive thread count are both integer types.

[0058] Generate alarm information based on the occupancy information, and send the alarm information to the operation and maintenance service platform.

[0059] The occupancy rate information represents the occupancy rate of the WebLogic thread pool. When the occupancy rate of the thread pool is too high, an early warning of the occupancy rate of the thread pool is required to facilitate operation and maintenance personnel to regulate the use of the thread pool.

[0060] In a feasible implementation, an alarm condition is pre-set, and when the occupancy information meets the alarm condition, an alarm message is generated, and the generated alarm message is sent to the operation and maintenance service platform for early warning. The alarm condition can be specifically determined according to the specific category of the occupancy information, the size of the thread pool, and the usage requirements.

[0061] In the WebLogic thread pool monitoring method of the present invention, the occupancy information includes the execution thread occupancy, the queue length occupancy and the exclusive thread occupancy, and the step of generating alarm information based on the occupancy information specifically includes: When any one of the execution thread occupancy rate, the queue length occupancy rate and the exclusive thread occupancy rate exceeds the corresponding preset occupancy rate threshold, the alarm information is generated.

[0062] In this embodiment, the occupancy information includes three types of data: execution thread occupancy, queue length occupancy and exclusive thread occupancy.

[0063] After the above three types of data are generated, they are output in a fixed format into a monitoring type format, which is: server IP|total number of execution threads|queue length|exclusive thread count|thread pool usage.

[0064] Configure a corresponding preset occupancy threshold for each type of data.

[0065] In a feasible implementation manner, the configured preset occupancy rate thresholds are as follows: thread usage rate is greater than 50%, queue length is greater than 10, and the number of exclusive threads is greater than 5.

[0066] When any item of the three types of data exceeds the corresponding preset occupancy threshold, a corresponding alarm message is generated.

[0067] Optionally, when the three types of data exceed the corresponding preset occupancy thresholds at the same time, another alarm message is generated.

[0068] The alarm information is printed out in the format of the above-mentioned monitoring type, and the data information is simultaneously printed to the IT operation and maintenance service platform.

[0069] Optionally, the generated alarm information also needs to be notified to the service desk. After the alarm information is sent to the service desk through the internal module, the service desk notifies the designated operation and maintenance person in charge to handle it.

[0070] The WebLogic thread pool monitoring device provided by the present invention is described below. The WebLogic thread pool monitoring device described below and the WebLogic thread pool monitoring method described above can be referenced to each other.

[0071] like Figure 4 As shown, the WebLogic thread pool monitoring device includes a login information acquisition module 401, a page information acquisition module 402 and an occupation information acquisition module 403: The login information acquisition module 401 is used to crawl and obtain the WebLogic console login information at a preset time interval; Specifically, the WebLogic console login information is obtained through crawling technology.

[0072] Optionally, the WebLogic console login information is a login cookie (a small text file). The cookie contains information including a session identifier, which is used to identify and track users in order to keep them logged in as they visit different pages of a website or at different points in time.

[0073] This allows access to WebLogic's thread monitoring page based on cookies.

[0074] Optionally, in a feasible implementation, WebLogic console login information is obtained at preset intervals, and the preset interval can be determined based on the monitoring requirements for thread pool occupancy information. The preset interval in this application is 5 minutes.

[0075] The page information acquisition module 402 is used to request the thread monitoring page of WebLogic through the login information and obtain the returned page information; Use the obtained login information to request access to the WebLogic thread monitoring page, and in the case of a successful response, obtain the page information in HTML format returned.

[0076] The thread monitoring page of WebLogic is the web page after logging into the WebLogic console, which contains relevant information of the thread pool and other background control and management information.

[0077] Therefore, the returned page information includes relevant information of the thread pool.

[0078] The occupancy information acquisition module 403 is used to acquire the occupancy information of the WebLogic thread pool from the page information.

[0079] The obtained html page information is parsed to obtain the WebLogic thread pool related information, and then the thread pool occupancy information is sorted out.

[0080] Optionally, the obtained page information is matched by constructing a regular expression, and the matched information is used as the thread pool occupancy information. The regular expression is constructed based on the display mode of the thread pool occupancy information.

[0081] Optionally, the thread pool occupancy information includes at least information about the number of execution threads, queue length, and the number of exclusive threads.

[0082] The present invention obtains WebLogic console login information by crawling, and then requests WebLogic's thread monitoring page through the login information, and obtains WebLogic thread pool occupancy information from the returned page information, thereby realizing a method for obtaining corresponding thread pool information through a front-end static page, which is convenient for users of WebLogic application services to realize real-time monitoring of WebLogic thread pools.

[0083] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the WebLogic thread pool monitoring method, which includes: crawling and obtaining WebLogic console login information at a preset time interval; requesting the WebLogic thread monitoring page through the login information and obtaining the returned page information; and obtaining the WebLogic thread pool occupancy information from the page information.

[0084] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0085] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the WebLogic thread pool monitoring method provided by the above methods, which includes: crawling to obtain WebLogic console login information at preset time intervals; requesting WebLogic's thread monitoring page through the login information, and obtaining the returned page information; and obtaining the occupancy information of the WebLogic thread pool from the page information.

[0086] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the WebLogic thread pool monitoring method provided by the above-mentioned methods. The method includes: crawling and obtaining WebLogic console login information at preset time intervals; requesting WebLogic's thread monitoring page through the login information, and obtaining the returned page information; and obtaining the occupancy information of the WebLogic thread pool from the page information.

[0087] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0088] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A WebLogic thread pool monitoring method, It is characterized in that include: Crawl and obtain WebLogic console login information at preset intervals; Requesting the thread monitoring page of WebLogic through the login information, and obtaining the returned page information; The occupancy information of the WebLogic thread pool is obtained from the page information.

2. The WebLogic thread pool monitoring method according to claim 1, It is characterized in that The step of crawling and obtaining the WebLogic console login information at preset intervals specifically includes: Construct request parameters based on WebLogic login username and password; The login address of the WebLogic is accessed through crawler technology based on the request parameters, and the returned login cookies are used as the login information.

3. The WebLogic thread pool monitoring method according to claim 1, It is characterized in that The step of requesting the thread monitoring page of WebLogic through the login information and obtaining the returned page information specifically includes: The login information is set as an access token, and the thread monitoring page of WebLogic is accessed; Get the returned page information.

4. The WebLogic thread pool monitoring method according to claim 1, It is characterized in that The step of obtaining the occupancy information of the WebLogic thread pool from the page information specifically includes: Use a parser and configure regular expressions; The information matching the regular expression is obtained from the page information as the occupancy information of the WebLogic thread pool.

5. The WebLogic thread pool monitoring method according to any one of claims 1 to 4, It is characterized in that Also includes: Determine occupancy information of the WebLogic thread pool based on the occupancy information; Generate alarm information based on the occupancy information, and send the alarm information to the operation and maintenance service platform.

6. The WebLogic thread pool monitoring method according to claim 1, It is characterized in that The occupancy rate information includes the execution thread occupancy rate, the queue length occupancy rate and the exclusive thread occupancy rate. The step of generating the alarm information based on the occupancy rate information specifically includes: When any one of the execution thread occupancy rate, the queue length occupancy rate and the exclusive thread occupancy rate exceeds the corresponding preset occupancy rate threshold, the alarm information is generated.

7. A WebLogic thread pool monitoring device, It is characterized in that include: The login information acquisition module is used to crawl and obtain the WebLogic console login information at preset intervals; A page information acquisition module, used to request the thread monitoring page of WebLogic through the login information, and obtain the returned page information; The occupancy information acquisition module is used to obtain the occupancy information of the WebLogic thread pool from the page information.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the WebLogic thread pool monitoring method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the WebLogic thread pool monitoring method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the WebLogic thread pool monitoring method according to any one of claims 1 to 6 is implemented.