CN108848134A - A kind of server monitoring information collecting method and device - Google Patents

A kind of server monitoring information collecting method and device Download PDF

Info

Publication number
CN108848134A
CN108848134A CN201810530551.7A CN201810530551A CN108848134A CN 108848134 A CN108848134 A CN 108848134A CN 201810530551 A CN201810530551 A CN 201810530551A CN 108848134 A CN108848134 A CN 108848134A
Authority
CN
China
Prior art keywords
monitored item
item information
server node
information
reporting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810530551.7A
Other languages
Chinese (zh)
Inventor
赵龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810530551.7A priority Critical patent/CN108848134A/en
Publication of CN108848134A publication Critical patent/CN108848134A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present application discloses a kind of server monitoring information collecting method and device, and the method includes server nodes to acquire monitored item information, and the monitored item information includes the performance information and/or status information of the server node;Server node reports rule according to preset, by the monitored item information reporting to database;It monitors node according to the preset time interval, the monitored item information in a newest time interval is analyzed and summarized.In the embodiment of the present application, distributed server node actively acquires monitored item information and active reporting, reduces the performance pressures of monitoring node concentrated collection.

Description

A kind of server monitoring information collecting method and device
Technical field
This application involves field of computer technology, more particularly to a kind of server monitoring information collecting method and device.
Background technique
With the continuous development of computer technology, equipment is calculated gradually by single server development for by large-scale server The data center of cluster composition.A large amount of server node usually is run simultaneously in the data center, in order to guarantee in data The stable operation of the heart needs the performance information or monitor state information of each server node of timing acquisition, to the information got It is analyzed, and then the resource pool of the current data center of real-time update.
In the prior art, it is usually carried out using performance information or monitor state information of the monitoring node to each server node Actively obtain.But due in server cluster server node it is larger, by monitor node actively obtain each service The mode of device nodal information, so that the heavier loads of monitoring node, and then will affect the overall performance of system.
Summary of the invention
A kind of server monitoring information collecting method and device are provided in the embodiment of the present application, in favor of solving existing skill In art by way of monitoring node and actively obtaining each server node information, so that the problem of the heavier loads of monitoring node.
In a first aspect, the embodiment of the present application provides a kind of server monitoring information collecting method, it is applied to data center Server node, the method includes:
Monitored item information is acquired, the monitored item information includes the performance information and/or state letter of the server node Breath;
Rule is reported according to preset, by the monitored item information reporting to database.
Optionally, described to report rule according to preset, by the monitored item information reporting to database, including:
It calls time on preset, by the monitored item information reporting to database, wherein each server of data center The monitored item information reporting time of node was divided evenly within the corresponding period.
Second aspect, the embodiment of the present application provide a kind of server monitoring information collecting method, are applied to data center Monitoring node, the method includes:
Each server node is obtained according to the preset monitored item information for reporting rule to report to database, the monitoring Item information includes the performance information and/or status information of the server node;
According to the preset time interval, the monitored item information in a newest time interval is analyzed and is summarized.
Optionally, described to obtain each server node according to the preset monitored item letter for reporting rule to report to database Breath, including:
It obtains each server node and calls time on preset and report to the monitored item information of database, wherein data The monitored item information reporting time of each server node at center was divided evenly within the corresponding period.
The third aspect, the embodiment of the present application provide a kind of server monitoring information collecting device, are applied to data center Server node, described device includes:
Acquisition module, for acquiring monitored item information, the monitored item information includes the performance letter of the server node Breath and/or status information;
Reporting module, for reporting rule according to preset, by the monitored item information reporting to database.
Optionally, the reporting module, specifically for calling time on preset, by the monitored item information reporting to number According to library, wherein the monitored item information reporting time of each server node of data center was divided evenly in the corresponding period It is interior.
Fourth aspect, the embodiment of the present application provide a kind of server monitoring information collecting device, are applied to data center Monitoring node, described device includes:
Module is obtained, for obtaining each server node according to the preset monitored item for reporting rule to report to database Information, the monitored item information include the performance information and/or status information of the server node;
Analysis module is used for following preset time intervals, and is carried out to the monitored item information in a newest time interval It analyzes and summarizes.
Optionally, the acquisition module calls time on preset specifically for each server node of acquisition and reports to The monitored item information of database, wherein the monitored item information reporting time of each server node of data center is divided evenly Within the corresponding period.
5th aspect, the embodiment of the present application provide a kind of server node, including:
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to executing method described in above-mentioned first aspect.
6th aspect, the embodiment of the present application provide a kind of monitoring node, including:
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to executing method described in above-mentioned second aspect.
In the embodiment of the present application, distributed server node actively acquires monitored item information and active reporting, reduces Monitor the performance pressures of node concentrated collection.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of server monitoring information collecting method flow diagram provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of server monitoring information collecting device provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of another server monitoring information collecting device provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of server node provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram for monitoring node provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without making creative work Range.
In large-scale data center design monitoring scheme, if actively obtained using server monitoring client transmitting order to lower levels Each nodal information certainly will cause a large amount of performance issues.For this problem, the embodiment of the present application is determined in each server node When grab each monitored item information, active reporting to server monitors node, monitoring node in real time according to the data reported into Row analysis, the resource pool of the current data center of real-time update.It is described in detail below in conjunction with attached drawing.
Fig. 1 is a kind of server monitoring information collecting method flow diagram provided by the embodiments of the present application, such as Fig. 1 institute Show, mainly includes the following steps that.
Step S101:Each server node acquires monitored item information.
In the embodiment of the present application, each server node of data center carries out active acquisition to its monitored item information, The monitored item information includes the performance information and/or status information of the server node.Specifically, in deployment building data When the heart, corresponding different monitoring is disposed according to the operation role selecting of each server on the server and acquires script, and is used Timing acquiring task tool timing Grabbing properties data and condition monitoring data.
Step S102:Each server node is by monitored item information reporting to database.
On each server node after deployment monitoring, each server node meeting timing is monitored, and will acquisition Monitored item information reporting to database.
Wherein, a large amount of server nodes report monitored item information simultaneously in order to prevent, and the high concurrent risk generated, at this Setting reports rule in application embodiment, and each server node is monitored reporting for information according to reporting rule.Specifically, Server node reports the monitored item information to database, wherein each service of data center according to calling time on preset The monitored item information reporting time of device node was divided evenly within the corresponding period.It is intended that by each server Dispersion of calling time on node upsets, and does not concentrate on some timing node, so can be to avoid high concurrent risk.
Step S103:Monitor node analysis summary monitored item information.
Specifically, monitoring node can be by the way of timed task, periodically to a time interval newest in database Interior monitored item information is analyzed and is summarized.
In the embodiment of the present application, distributed server node actively acquires monitored item information and active reporting, reduces Monitor the performance pressures of node concentrated collection.
Corresponding with above method embodiment, present invention also provides a kind of server monitoring information collecting device, applications In the server node of data center.Fig. 2 is a kind of knot of server monitoring information collecting device provided by the embodiments of the present application Structure schematic diagram, as shown in Fig. 2, it is mainly comprised the following modules.
Acquisition module 201, for acquiring monitored item information, the monitored item information includes the performance of the server node Information and/or status information;
Reporting module 202, for reporting rule according to preset, by the monitored item information reporting to database.
In an alternative embodiment, the reporting module 202, specifically for calling time on preset, by the prison Item information reporting is controlled to database, wherein the monitored item information reporting time of each server node of data center is uniformly divided It fits in the corresponding period.
Corresponding with above method embodiment, present invention also provides another server monitoring information collecting devices, answer Monitoring node for data center.Fig. 3 is another server monitoring information collecting device provided by the embodiments of the present application Structural schematic diagram, as shown in figure 3, described device includes:
Module 301 is obtained, for obtaining each server node according to the preset prison for reporting rule to report to database Item information is controlled, the monitored item information includes the performance information and/or status information of the server node;
Analysis module 302, is used for following preset time intervals, to the monitored item information in a newest time interval into Row is analyzed and is summarized.
In an alternative embodiment, the acquisition module 301 is specifically used for obtaining each server node preset On call time and report to the monitored item information of database, wherein the monitored item information reporting of each server node of data center Time was divided evenly within the corresponding period.
In the embodiment of the present application, distributed server node actively acquires monitored item information and active reporting, reduces Monitor the performance pressures of node concentrated collection.
Corresponding with above-described embodiment, present invention also provides a kind of server nodes.Fig. 4 provides for the embodiment of the present application A kind of server node structural schematic diagram, as shown in figure 4, the server node 400 may include:Processor 410 is deposited Reservoir 420 and communication unit 430.These components are communicated by one or more bus, and those skilled in the art can manage It solves, the structure of server shown in figure does not constitute the restriction to the application, it is also possible to either busbar network Hub-and-spoke configuration can also include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
Wherein, the communication unit 430, for establishing communication channel, so that the storage equipment be allow to set with other It is standby to be communicated.Receive the user data or send user data to other equipment that other equipment are sent.
The processor 410 utilizes various interfaces and the entire electronic equipment of connection for the control centre for storing equipment Various pieces, by running or execute the software program and/or module that are stored in memory 420, and call and be stored in Data in memory, to execute the various functions and/or processing data of electronic equipment.The processor can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 410 can only include central processing unit (Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also To include multioperation core.
The memory 420, for executing instruction for storage processor 410, memory 420 can be by any kind of easy The property lost or non-volatile memory device or their combination are realized, such as static random access memory (SRAM), electric erasable Programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
When executing instruction in memory 420 is executed by processor 410, so that terminal 400 is able to carry out the above method Step some or all of in embodiment.
Corresponding with above-described embodiment, present invention also provides a kind of monitoring nodes.Fig. 5 is provided by the embodiments of the present application A kind of structural schematic diagram monitoring node, as shown in figure 5, the monitoring node 500 may include:Processor 510, memory 520 and communication unit 530.These components are communicated by one or more bus, it will be understood by those skilled in the art that figure Shown in the structure of server do not constitute the restriction to the application, it is also possible to star-like either busbar network Structure can also include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, the communication unit 530, for establishing communication channel, so that the storage equipment be allow to set with other It is standby to be communicated.Receive the user data or send user data to other equipment that other equipment are sent.
The processor 510 utilizes various interfaces and the entire electronic equipment of connection for the control centre for storing equipment Various pieces, by running or execute the software program and/or module that are stored in memory 520, and call and be stored in Data in memory, to execute the various functions and/or processing data of electronic equipment.The processor can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 510 can only include central processing unit (Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also To include multioperation core.
The memory 520, for executing instruction for storage processor 510, memory 520 can be by any kind of easy The property lost or non-volatile memory device or their combination are realized, such as static random access memory (SRAM), electric erasable Programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
When executing instruction in memory 520 is executed by processor 510, so that terminal 500 is able to carry out the above method Step some or all of in embodiment.
In the specific implementation, the application also provides a kind of computer storage medium, wherein the computer storage medium can store There is program, which may include step some or all of in each embodiment provided by the present application when executing.The storage is situated between Matter can be magnetic disk, CD, read-only memory (English:Read-only memory, referred to as:ROM) or random storage is remembered Body (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment The method stated.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method Explanation.
Above-described the application embodiment does not constitute the restriction to the application protection scope.

Claims (10)

1. a kind of server monitoring information collecting method, which is characterized in that applied to the server node of data center, the side Method includes:
Monitored item information is acquired, the monitored item information includes the performance information and/or status information of the server node;
Rule is reported according to preset, by the monitored item information reporting to database.
2. the method according to claim 1, wherein rule is reported according to preset, by the monitored item information Database is reported to, including:
It calls time on preset, by the monitored item information reporting to database, wherein each server node of data center The monitored item information reporting time be divided evenly within the corresponding period.
3. a kind of server monitoring information collecting method, which is characterized in that applied to the monitoring node of data center, the method Including:
Each server node is obtained according to the preset monitored item information for reporting rule to report to database, the monitored item letter Breath includes the performance information and/or status information of the server node;
According to the preset time interval, the monitored item information in a newest time interval is analyzed and is summarized.
4. according to the method described in claim 3, it is characterized in that, each server node of acquisition is reported according to preset Rule reports to the monitored item information of database, including:
It obtains each server node and calls time on preset and report to the monitored item information of database, wherein data center Monitored item information reporting time of each server node be divided evenly within the corresponding period.
5. a kind of server monitoring information collecting device, which is characterized in that applied to the server node of data center, the dress Set including:
Acquisition module, for acquiring monitored item information, the monitored item information include the server node performance information and/ Or status information;
Reporting module, for reporting rule according to preset, by the monitored item information reporting to database.
6. device according to claim 5, which is characterized in that
The reporting module, specifically for calling time on preset, by the monitored item information reporting to database, wherein The monitored item information reporting time of each server node of data center was divided evenly within the corresponding period.
7. a kind of server monitoring information collecting device, which is characterized in that applied to the monitoring node of data center, described device Including:
Module is obtained, is believed for obtaining each server node according to the preset monitored item for reporting rule to report to database Breath, the monitored item information includes the performance information and/or status information of the server node;
Analysis module is used for following preset time intervals, and is analyzed the monitored item information in a newest time interval And summarize.
8. device according to claim 7, which is characterized in that
The acquisition module calls time on preset specifically for each server node of acquisition and reports to the monitoring of database Item information, wherein the monitored item information reporting time of each server node of data center was divided evenly in the corresponding time In section.
9. a kind of server node, which is characterized in that including:
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to method described in perform claim requirement 1 or 2.
10. a kind of monitoring node, which is characterized in that including:
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to method described in perform claim requirement 3 or 4.
CN201810530551.7A 2018-05-29 2018-05-29 A kind of server monitoring information collecting method and device Pending CN108848134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810530551.7A CN108848134A (en) 2018-05-29 2018-05-29 A kind of server monitoring information collecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810530551.7A CN108848134A (en) 2018-05-29 2018-05-29 A kind of server monitoring information collecting method and device

Publications (1)

Publication Number Publication Date
CN108848134A true CN108848134A (en) 2018-11-20

Family

ID=64209922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810530551.7A Pending CN108848134A (en) 2018-05-29 2018-05-29 A kind of server monitoring information collecting method and device

Country Status (1)

Country Link
CN (1) CN108848134A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913758A (en) * 2020-07-31 2020-11-10 上海燕汐软件信息科技有限公司 Automatic adding method, device and system of component monitoring task
CN112187529A (en) * 2020-09-15 2021-01-05 中信银行股份有限公司 Configuration information updating method, device, system, electronic equipment and readable storage medium
CN113051124A (en) * 2019-12-27 2021-06-29 中移(苏州)软件技术有限公司 Equipment monitoring method, device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882745A (en) * 2012-09-29 2013-01-16 摩卡软件(天津)有限公司 Method and device for monitoring business server
CN104486445A (en) * 2014-12-30 2015-04-01 北京天云融创软件技术有限公司 Distributed extendable resource monitoring system and method based on cloud platform
CN104754601A (en) * 2013-12-26 2015-07-01 中国移动通信集团公司 Hidden node detection method, network node and server
CN105022833A (en) * 2015-08-10 2015-11-04 浪潮(北京)电子信息产业有限公司 Data processing method, nodes and monitoring system
US20170097965A1 (en) * 2015-10-02 2017-04-06 Avaya Inc. Processor and data storage enabling efficient data reporting
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium
CN108063693A (en) * 2016-11-09 2018-05-22 腾讯科技(深圳)有限公司 A kind of information method for uploading and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882745A (en) * 2012-09-29 2013-01-16 摩卡软件(天津)有限公司 Method and device for monitoring business server
CN104754601A (en) * 2013-12-26 2015-07-01 中国移动通信集团公司 Hidden node detection method, network node and server
CN104486445A (en) * 2014-12-30 2015-04-01 北京天云融创软件技术有限公司 Distributed extendable resource monitoring system and method based on cloud platform
CN105022833A (en) * 2015-08-10 2015-11-04 浪潮(北京)电子信息产业有限公司 Data processing method, nodes and monitoring system
US20170097965A1 (en) * 2015-10-02 2017-04-06 Avaya Inc. Processor and data storage enabling efficient data reporting
CN108063693A (en) * 2016-11-09 2018-05-22 腾讯科技(深圳)有限公司 A kind of information method for uploading and terminal device
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051124A (en) * 2019-12-27 2021-06-29 中移(苏州)软件技术有限公司 Equipment monitoring method, device, server and storage medium
CN111913758A (en) * 2020-07-31 2020-11-10 上海燕汐软件信息科技有限公司 Automatic adding method, device and system of component monitoring task
CN112187529A (en) * 2020-09-15 2021-01-05 中信银行股份有限公司 Configuration information updating method, device, system, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108600029A (en) A kind of configuration file update method, device, terminal device and storage medium
CN112910945B (en) Request link tracking method and service request processing method
US8260911B2 (en) Scheduling method for polling device data
CN107071009A (en) A kind of distributed big data crawler system of load balancing
CN108848134A (en) A kind of server monitoring information collecting method and device
CN109214704A (en) A kind of distributed intelligence operation platform, method, apparatus and readable storage medium storing program for executing
CN103888277B (en) A kind of gateway disaster-tolerant backup method, device and system
CN109039829A (en) A kind of network card performance testing method, apparatus, terminal and storage medium
CN104168326B (en) A kind of method and system of server equally loaded
CN105653425A (en) Complicated event processing engine based monitoring system
CN115292026B (en) Management method, device and equipment of container cluster and computer readable storage medium
CN111831191A (en) Workflow configuration method and device, computer equipment and storage medium
CN109871308A (en) Automated testing method and device, terminal device and computer readable storage medium
CN112698952A (en) Unified management method and device for computing resources, computer equipment and storage medium
CN107070744A (en) Server monitoring method
CN109857471A (en) Method, apparatus, terminal and the storage medium of the tactful real-time synchronization of electricity under a kind of BIOS and BMC
CN114185734B (en) Method and device for monitoring clusters and electronic equipment
CN110515728B (en) Server scheduling method and device, electronic equipment and machine-readable storage medium
CN115883407A (en) Data acquisition method, system, equipment and storage medium
CN109714222A (en) The distributed computer monitoring system and its monitoring method of High Availabitity
CN109254780A (en) A kind of method, apparatus and controlled terminal of batch refresh server node firmware
CN109257396A (en) A kind of distributed lock dispatching method and device
CN108259605B (en) Data calling system and method based on multiple data centers
CN106452977A (en) Dynamic adaptive heartbeat sending method and system
CN109660388A (en) A kind of alarm management method and device based on cloud platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120

RJ01 Rejection of invention patent application after publication