CN111008104A - Server host health degree calculation and alarm method and system - Google Patents

Server host health degree calculation and alarm method and system Download PDF

Info

Publication number
CN111008104A
CN111008104A CN201911048993.9A CN201911048993A CN111008104A CN 111008104 A CN111008104 A CN 111008104A CN 201911048993 A CN201911048993 A CN 201911048993A CN 111008104 A CN111008104 A CN 111008104A
Authority
CN
China
Prior art keywords
health degree
server host
health
memory
cpu
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.)
Withdrawn
Application number
CN201911048993.9A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911048993.9A priority Critical patent/CN111008104A/en
Publication of CN111008104A publication Critical patent/CN111008104A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Abstract

The invention provides a method and a system for calculating and alarming the health degree of a server host, wherein the method comprises the following steps: s1, acquiring resource utilization rates of a CPU (central processing unit), a memory and storage of a server host; s2, respectively calculating respective health degrees according to respective utilization rates of a CPU (central processing unit), a memory and storage of the server host; s3, calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host; s4, judging whether the health degree of the server host is lower than a health degree threshold value or not; and if so, carrying out health degree alarm. The method and the system for calculating the health degree of the server host provided by the invention realize the calculation of the health degree of the whole resource of the server host, evaluate the health degree of the whole server host, correctly feed back the whole state of the server host and send out an alarm when the state is poor.

Description

Server host health degree calculation and alarm method and system
Technical Field
The invention belongs to the technical field of virtualization product host health degree calculation, and particularly relates to a server host health degree calculation and alarm method and system.
Background
The health degree is a quantitative index for measuring the health degree of the organism, the stability of the physical host of the server becomes more and more important along with the development of the virtualization technology, and the stability of the physical host needs to be evaluated through the health degree. However, the current alarm for the health degree of the host is generally limited to the utilization rate of a single CPU or a memory or a storage, and the overall state of the host cannot be relatively accurately evaluated.
Therefore, it is very necessary to provide a method and a system for calculating and alarming the health of a server host in order to overcome the above-mentioned drawbacks in the prior art.
Disclosure of Invention
Aiming at the defect that the method for evaluating the state health degree of the whole host computer is lacked at present in the prior art, the invention provides a method and a system for calculating and alarming the health degree of a server host computer, so as to solve the technical problems.
In a first aspect, the present invention provides a server host health degree calculation and alarm method, including the following steps:
s1, acquiring resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
s2, respectively calculating respective health degrees according to respective utilization rates of a CPU (central processing unit), a memory and storage of the server host;
s3, calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host;
s4, judging whether the health degree of the server host is lower than a health degree threshold value or not;
and if so, carrying out health degree alarm. The CPU, the memory and the stored resource utilization rate information of the server host can be obtained through the host monitoring server.
Further, the step S2 specifically includes the following steps:
s21, judging the intervals of respective utilization rates x of a CPU, an internal memory and storage of a server host, wherein x is set as a percentage integer value;
s22, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a first utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.005 x 2-0.05 x + 100;
s23, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a second utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.0125 x 2+0.5 x + 90;
and S24, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a third utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.05 x 2+6.5 x-150.
Furthermore, the first utilization rate interval is set to be 0-40, the second utilization rate interval is set to be 40-80, the third utilization rate interval is set to be 80-100, the utilization rates of the CPU, the memory and the storage of the server host are 0-40 respectively, the calculated and obtained health degree score is 100-90, the utilization rates of the CPU, the memory and the storage of the server host are 40-80 respectively, the calculated and obtained health degree score is 90-50, the utilization rates of the CPU, the memory and the storage of the server host are 80-100 respectively, and the calculated and obtained health degree score is 50-0.
Further, the step S3 specifically includes the following steps:
s31, judging whether the health degrees of a CPU, a memory and a storage of the server host are all larger than a first health degree threshold value;
s32, if yes, setting the health degree of the server host as the CPU health degree 0.35+ the memory health degree 0.45+ the memory health degree 0.2; proceeding to step S4;
s33, if not, acquiring the minimum health degree in the CPU, the memory and the storage of the server host, and setting the minimum health degree as Min health degree;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
setting the health degree of a server host as Min health degree 0.9+ AVG health degree 0.1; the process advances to step S4. And taking the first health degree threshold as a boundary, adopting general weighted calculation when each health degree is greater than the first health degree threshold, and adopting punishment weighted calculation when each health degree is less than the first health degree threshold.
Further, the step S4 specifically includes the following steps:
s41, judging whether the health degree of the server host is smaller than a first health degree threshold value or not;
s42, if yes, performing primary serious alarm on the health degree of the host;
s43, if not, judging whether the health degree of the server host is smaller than a second health degree threshold value;
if yes, secondary alarm of the health degree of the host is carried out. The primary serious alarm and the secondary serious alarm are both sent to notify alarms through mails set in advance.
Further, the first health threshold is set to 20, and the second health threshold is set to 50.
In a second aspect, the present invention provides a system for calculating and alarming health degree of a service host, comprising:
each resource utilization rate acquisition module is used for acquiring the resource utilization rates of a CPU (central processing unit), a memory and storage of the server host;
each health degree calculation module is used for calculating the respective health degree according to the respective utilization rates of the CPU, the memory and the storage of the server host;
the server host health degree calculation module is used for calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host;
the server host health degree judging module is used for judging whether the health degree of the server host is lower than a health degree threshold value or not;
and the health degree alarm module is used for giving an alarm on the health degree when the health degree of the server host is lower than the health degree threshold value.
Further, each health degree calculation module includes:
each utilization rate interval judging unit is used for judging the interval of each utilization rate x of the CPU, the memory and the storage of the server host, wherein x is set as a percentage integer value;
each health degree calculation first unit is used for setting the health degrees y of the CPU, the memory and the storage of the server host as-0.005 x 2-0.05 x +100 when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a first utilization rate interval;
each health degree calculation second unit is used for setting the health degrees y of the CPU, the memory and the storage of the server host as-0.0125 x 2+0.5 x +90 when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a second utilization rate interval;
and each health degree calculation third unit is used for setting the health degree y of the CPU, the memory and the storage of the server host as-0.05 x 2+6.5 x-150 when the respective utilization rate x of the CPU, the memory and the storage of the server host is in a third utilization rate interval.
Further, the server host health calculation module includes:
each health degree judging unit is used for judging whether the CPU, the memory and the storage health degree of the server host are all larger than a first health degree threshold value;
the first server host health degree calculating unit is used for setting the server host health degree as CPU health degree 0.35+ memory health degree 0.45+ storage health degree 0.2 when the CPU, the memory and the storage health degree of the server host are all larger than a first health degree threshold value; proceeding to step S4;
the second server host health degree calculation unit is used for acquiring the minimum health degree in the CPU, the memory and the storage of the server host and setting the minimum health degree as Min health degree when the health degrees of the CPU, the memory and the storage of the server host are not all larger than the first health degree threshold;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
the server host health is set to Min health 0.9+ AVG health 0.1.
Further, the server host health degree judging module comprises:
the first judging unit of the health degree of the server host is used for judging whether the health degree of the server host is smaller than a first health degree threshold value or not;
the second judging unit of the health degree of the server host is used for judging whether the health degree of the server host is smaller than a second health degree threshold value when the health degree of the server host is not smaller than the first health degree threshold value;
the health degree warning module includes:
the first alarm unit is used for carrying out primary serious alarm on the health degree of the host when the health degree of the host of the server is smaller than a first health degree threshold value;
and the second alarm unit is used for performing secondary alarm of the host health degree when the host health degree of the server is smaller than a second health degree threshold value.
The beneficial effect of the invention is that,
the method and the system for calculating the health degree of the server host provided by the invention realize the calculation of the health degree of the whole resource of the server host, evaluate the health degree of the whole server host, correctly feed back the whole state of the server host and send out an alarm when the state is poor.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a first schematic flow chart of the method of the present invention;
FIG. 2 is a second schematic flow chart of the method of the present invention;
FIG. 3 is a schematic diagram of the system of the present invention;
in the figure, 1-each resource utilization rate acquisition module; 2-each health degree calculation module; 2.1-each usage interval judgment unit; 2.2-first unit for calculating each health degree; 2.3-second unit for calculating each health degree; 2.4-third unit for calculating each health degree; 3-a server host health degree calculation module; 3.1-each health degree judging unit; 3.2-a first server host health calculation unit; 3.3-a second server host health calculation unit; 4-a server host health degree judgment module; 4.1-a first judgment unit for the health degree of the server host; 4.2-a second judging unit for the health degree of the server host; 5-a health degree alarm module; 5.1-a first alarm unit; 5.2-second alarm unit.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the present invention provides a method for calculating and alarming the health degree of a server host, which comprises the following steps:
s1, acquiring resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
s2, respectively calculating respective health degrees according to respective utilization rates of a CPU (central processing unit), a memory and storage of the server host;
s3, calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host;
s4, judging whether the health degree of the server host is lower than a health degree threshold value or not;
and if so, carrying out health degree alarm. The CPU, the memory and the stored resource utilization rate information of the server host can be obtained through the host monitoring server.
Example 2:
as shown in fig. 1 and fig. 2, the present invention provides a server host health degree calculating and alarming method, which includes the following steps:
s1, acquiring resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
s2, respectively calculating respective health degrees according to respective utilization rates of a CPU (central processing unit), a memory and storage of the server host; the method comprises the following specific steps:
s21, judging the intervals of respective utilization rates x of a CPU, an internal memory and storage of a server host, wherein x is set as a percentage integer value; the first usage interval is set to [0-40], the second usage interval is set to (40-80], and the third usage interval is set to (80-100 ];
s22, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a first utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.005 x 2-0.05 x + 100;
s23, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a second utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.0125 x 2+0.5 x + 90;
s24, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a third utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.05 x 2+6.5 x-150;
s3, calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host; the method comprises the following specific steps:
s31, judging whether the health degrees of a CPU, a memory and a storage of the server host are all larger than a first health degree threshold value;
s32, if yes, setting the health degree of the server host as the CPU health degree 0.35+ the memory health degree 0.45+ the memory health degree 0.2; proceeding to step S4;
s33, if not, acquiring the minimum health degree in the CPU, the memory and the storage of the server host, and setting the minimum health degree as Min health degree;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
setting the health degree of a server host as Min health degree 0.9+ AVG health degree 0.1; taking a first health degree threshold value as a boundary, adopting general weighting calculation when each health degree is greater than the first health degree threshold value, and adopting punishment weighting calculation when each health degree is less than the first health degree threshold value; proceeding to step S4;
s4, judging whether the health degree of the server host is lower than a health degree threshold value or not; the method comprises the following specific steps:
s41, judging whether the health degree of the server host is smaller than a first health degree threshold value or not;
s42, if yes, performing primary serious alarm on the health degree of the host;
s43, if not, judging whether the health degree of the server host is smaller than a second health degree threshold value;
if yes, secondary alarm of the health degree of the host is carried out. The primary serious alarm and the secondary serious alarm are both sent to inform alarm through a preset mail;
the first health threshold is set to 20 and the second health threshold is set to 50.
Example 3:
with the procedure of example 2 being used,
according to step S1, the CPU utilization of server host a is 50%, the memory utilization is 90%, and the storage utilization is 30%.
The server host a individual resource health is calculated according to step S2 as follows:
-0.0125 x 50^2+0.5 x 50+90 x 83.75;
the memory health degree is-0.05 x 90^2+6.5 x 90-150 ^ 30;
storing the health value of-0.005 x 30^2-0.05 x 30+100 ^ 94;
since the CPU health value is 83.75, the memory health value is 30, and the storage health value is 94, all the individual health values are greater than 20, the server host a health value is calculated as follows by using a general weighting according to step S3:
server host a health value of 83.75 × 0.35+30 × 0.45+94 × 0.2 × 61.6125;
according to step S4, server host A health 61.6125> second health threshold 50, server host A does not trigger any task alerts.
Example 4:
with the procedure of example 2 being used,
obtaining the CPU utilization rate of the server host B60%, the memory utilization rate of 95%, and the storage utilization rate of 96% according to step S1, calculating the CPU health degree of the server host B75, the memory health degree of 16.25, and the storage health degree of 13.2 according to step S2, and calculating the host health degree by adopting penalty weighting according to step S3 as follows:
server host B health 13.2 × 0.9+ ((75+16.25)/2) × 0.1 ═ 16.4425;
according to step S4, if the health of server host B is 16.4425<20, server host B will trigger a primary serious alarm and the mail will alert that the health is too low.
Example 5:
as shown in fig. 3, the present invention provides a system for calculating and alarming health of a service host, comprising:
each resource utilization rate obtaining module 1 is used for obtaining the resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
each health degree calculation module 2 is used for calculating the respective health degree according to the respective utilization rates of the CPU, the memory and the storage of the server host; each health degree calculation module 2 includes:
each utilization rate interval judging unit 2.1 is used for judging the interval of the utilization rate x of each of the CPU, the memory and the storage of the server host, wherein x is set as a percentage integer value;
each health degree calculation first unit 2.2 is configured to set the health degree y of the server host CPU, the memory, and the storage to-0.005 x ^2-0.05 x +100 when the respective usage rates x of the server host CPU, the memory, and the storage are within the first usage rate interval;
each health degree calculation second unit 2.3 is used for setting the health degree y of the server host CPU, the memory and the storage to-0.0125 x ^2+0.5 x +90 when the respective utilization rate x of the server host CPU, the memory and the storage is in the second utilization rate interval;
each health degree calculation third unit 2.4 is used for setting the health degree y of the server host CPU, the memory and the storage to-0.05 x ^2+6.5 x-150 when the respective utilization rate x of the server host CPU, the memory and the storage is in a third utilization rate interval;
the server host health degree calculation module 3 is used for calculating the health degree of the server host according to the health degree of the server host CPU, the memory and the storage; the server host health degree calculation module 3 includes:
each health degree judging unit 3.1 is used for judging whether the health degrees of the CPU, the memory and the storage of the server host are all larger than a first health degree threshold value;
a first server host health degree calculation unit 3.2, configured to set a server host health degree of 0.35+ 0.45+ 0.2 + a memory health degree when the CPU, the memory, and the memory health degree of the server host are all greater than a first health degree threshold; proceeding to step S4;
the second server host health degree calculating unit 3.3 is used for acquiring the minimum health degree in the CPU, the memory and the storage of the server host and setting the minimum health degree as the Min health degree when the health degrees of the CPU, the memory and the storage of the server host are not all larger than the first health degree threshold;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
setting the health degree of a server host as Min health degree 0.9+ AVG health degree 0.1;
the server host health degree judging module 4 is used for judging whether the health degree of the server host is lower than a health degree threshold value; the server host health degree determination module 4 includes:
the first judging unit 4.1 of the health degree of the server host is used for judging whether the health degree of the server host is smaller than a first health degree threshold value or not;
the second server host health degree judging unit 4.2 is used for judging whether the server host health degree is smaller than a second health degree threshold value when the server host health degree is not smaller than the first health degree threshold value;
the health degree alarm module 5 is used for giving a health degree alarm when the health degree of the server host is lower than a health degree threshold value; the health degree warning module 5 includes:
the first alarm unit 5.1 is used for carrying out primary serious alarm on the health degree of the host when the health degree of the host of the server is smaller than a first health degree threshold value;
and the second alarm unit 5.2 is used for performing secondary alarm of the host health degree when the host health degree of the server is smaller than the second health degree threshold value.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A server host health degree calculation and alarm method is characterized by comprising the following steps:
s1, acquiring resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
s2, respectively calculating respective health degrees according to respective utilization rates of a CPU (central processing unit), a memory and storage of the server host;
s3, calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host;
s4, judging whether the health degree of the server host is lower than a health degree threshold value or not;
and if so, carrying out health degree alarm.
2. The method for calculating and alarming the health degree of the server host as claimed in claim 1, wherein the step S2 comprises the following steps:
s21, judging the intervals of respective utilization rates x of a CPU, an internal memory and storage of a server host, wherein x is set as a percentage integer value;
s22, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a first utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.005 x 2-0.05 x + 100;
s23, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a second utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.0125 x 2+0.5 x + 90;
and S24, when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a third utilization rate interval, setting the health degree y of the CPU, the memory and the storage of the server host to be-0.05 x 2+6.5 x-150.
3. The server host health computation, alarm method of claim 2, wherein the first usage interval is set to [0-40], the second usage interval is set to (40-80), and the third usage interval is set to (80-100 ].
4. The method for calculating and alarming the health degree of the server host as claimed in claim 1, wherein the step S3 comprises the following steps:
s31, judging whether the health degrees of a CPU, a memory and a storage of the server host are all larger than a first health degree threshold value;
s32, if yes, setting the health degree of the server host as the CPU health degree 0.35+ the memory health degree 0.45+ the memory health degree 0.2; proceeding to step S4;
s33, if not, acquiring the minimum health degree in the CPU, the memory and the storage of the server host, and setting the minimum health degree as Min health degree;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
setting the health degree of a server host as Min health degree 0.9+ AVG health degree 0.1; the process advances to step S4.
5. The method for calculating and alarming the health degree of the server host as claimed in claim 4, wherein the step S4 comprises the following steps:
s41, judging whether the health degree of the server host is smaller than a first health degree threshold value or not;
s42, if yes, performing primary serious alarm on the health degree of the host;
s43, if not, judging whether the health degree of the server host is smaller than a second health degree threshold value;
if yes, secondary alarm of the health degree of the host is carried out.
6. The server host health calculation and warning method of claim 5, wherein the first health threshold is set to 20 and the second health threshold is set to 50.
7. A service host health degree calculating and alarming system is characterized by comprising:
each resource utilization rate acquisition module (1) is used for acquiring the resource utilization rates of a CPU (central processing unit), a memory and storage of a server host;
each health degree calculation module (2) is used for calculating the respective health degree according to the respective utilization rates of the CPU, the memory and the storage of the server host;
the server host health degree calculation module (3) is used for calculating the health degree of the server host according to the health degree of the CPU, the memory and the storage of the server host;
the server host health degree judging module (4) is used for judging whether the health degree of the server host is lower than a health degree threshold value or not;
and the health degree alarm module (5) is used for giving a health degree alarm when the health degree of the server host is lower than a health degree threshold value.
8. The service host health calculation, alert system of claim 7, wherein each health calculation module (2) comprises:
each utilization rate interval judging unit (2.1) is used for judging the interval of each utilization rate x of the CPU, the memory and the storage of the server host, wherein x is set as a percentage integer value;
each health degree calculation first unit (2.2) is used for setting the health degree y of the CPU, the memory and the storage of the server host as-0.005 x 2-0.05 x +100 when the respective utilization rate x of the CPU, the memory and the storage of the server host is in a first utilization rate interval;
each health degree calculating second unit (2.3) is used for setting the health degree y of the CPU, the memory and the storage of the server host as-0.0125 x ^2+0.5 x +90 when the respective utilization rate x of the CPU, the memory and the storage of the server host is in a second utilization rate interval;
and a third unit (2.4) for calculating the health degree, wherein when the respective utilization rates x of the CPU, the memory and the storage of the server host are in a third utilization rate interval, the health degree y of the CPU, the memory and the storage of the server host is set to be-0.05 x 2+6.5 x-150.
9. The service host health calculation, alert system of claim 7, wherein the server host health calculation module (3) comprises:
each health degree judging unit (3.1) is used for judging whether the health degrees of a CPU, a memory and a storage of the server host are all larger than a first health degree threshold value;
a first server host health degree calculation unit (3.2) for setting the server host health degree as CPU health degree 0.35+ memory health degree 0.45+ storage health degree 0.2 when the CPU, memory and storage health degrees of the server host are all greater than a first health degree threshold; proceeding to step S4;
the second server host health degree calculating unit (3.3) is used for acquiring the minimum health degree in the CPU, the memory and the storage of the server host when the health degrees of the CPU, the memory and the storage of the server host are not all larger than the first health degree threshold value, and setting the health degree as Min health degree;
calculating the average value of all health degrees except Min health degree in the CPU, the memory and the storage of the server host, and setting the average value as AVG health degree;
the server host health is set to Min health 0.9+ AVG health 0.1.
10. The service host health computation, alarm system of claim 9,
the server host health degree judgment module (4) comprises:
the server host health degree first judgment unit (4.1) is used for judging whether the server host health degree is smaller than a first health degree threshold value or not;
the second judging unit (4.2) of the health degree of the server host is used for judging whether the health degree of the server host is smaller than the second health degree threshold value when the health degree of the server host is not smaller than the first health degree threshold value;
the health degree alarm module (5) includes:
the first alarm unit (5.1) is used for carrying out primary serious alarm on the health degree of the host when the health degree of the host of the server is smaller than a first health degree threshold value;
and the second alarm unit (5.2) is used for carrying out secondary alarm of the host health degree when the host health degree of the server is less than the second health degree threshold value.
CN201911048993.9A 2019-10-31 2019-10-31 Server host health degree calculation and alarm method and system Withdrawn CN111008104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911048993.9A CN111008104A (en) 2019-10-31 2019-10-31 Server host health degree calculation and alarm method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911048993.9A CN111008104A (en) 2019-10-31 2019-10-31 Server host health degree calculation and alarm method and system

Publications (1)

Publication Number Publication Date
CN111008104A true CN111008104A (en) 2020-04-14

Family

ID=70111769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911048993.9A Withdrawn CN111008104A (en) 2019-10-31 2019-10-31 Server host health degree calculation and alarm method and system

Country Status (1)

Country Link
CN (1) CN111008104A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559291A (en) * 2020-12-17 2021-03-26 济南浪潮数据技术有限公司 Resource monitoring method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559291A (en) * 2020-12-17 2021-03-26 济南浪潮数据技术有限公司 Resource monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105938183B (en) A kind of intelligent monitor system in prediction UPS battery service life
CN105095747B (en) A kind of Java application health degree appraisal procedure and system
CN106301919A (en) The warning system of a kind of privatization cloud platform and its implementation
CN104778111A (en) Alarm method and alarm device
CN109186888A (en) A kind of method, apparatus and terminal device of running water pipe water leakage monitoring
CN105427536A (en) Critical condition prompting method, intelligent wearable equipment, and intelligent terminal
CN103533571B (en) Fault-tolerant event detecting method based on temporal voting strategy
CN104665771A (en) Cloud platform-based sleep quality monitoring method and system
CN109446017A (en) A kind of alarm algorithm generation method, monitoring system and terminal device
CN109241353B (en) Data auditing method
CN108880845A (en) A kind of method and relevant apparatus of information alert
CN103412941A (en) Data correction method and device
CN109066974A (en) Substation&#39;s status information capture method and device
CN111008104A (en) Server host health degree calculation and alarm method and system
CN109634747A (en) Resource capacity expansion method, apparatus, computer equipment and storage medium based on Saltstack
Jia et al. Pms: Intelligent pollution monitoring system based on the industrial internet of things for a healthier city
CN114019400A (en) Lithium battery life cycle monitoring and management method, system and storage medium
CN109800085A (en) Detection method, device, storage medium and the electronic equipment of resource distribution
CN110533268A (en) A kind of risk control method, air control system and terminal device
CN108731731A (en) A kind of lighning proof type safety supervision system and lighning proof type safety supervision method
CN109617795A (en) A kind of method and system sending message
CN113127878A (en) Risk assessment method and device for threat event
CN110472118A (en) A kind of method for evaluating quality, equipment, server and readable storage medium storing program for executing
CN109701196A (en) Removable module wisdom fire-fighting Support Equipment on duty and Related product
CN107707623A (en) Equipment operation control method and relevant device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200414