CN107800783B - Method and device for remotely monitoring server - Google Patents

Method and device for remotely monitoring server Download PDF

Info

Publication number
CN107800783B
CN107800783B CN201710972265.1A CN201710972265A CN107800783B CN 107800783 B CN107800783 B CN 107800783B CN 201710972265 A CN201710972265 A CN 201710972265A CN 107800783 B CN107800783 B CN 107800783B
Authority
CN
China
Prior art keywords
server
data
state information
running state
terminal
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.)
Active
Application number
CN201710972265.1A
Other languages
Chinese (zh)
Other versions
CN107800783A (en
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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201710972265.1A priority Critical patent/CN107800783B/en
Publication of CN107800783A publication Critical patent/CN107800783A/en
Application granted granted Critical
Publication of CN107800783B publication Critical patent/CN107800783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a device for remotely monitoring a server. The method comprises the following steps: the server plug-in captures the running state information of the server; the server plug-in judges whether the running state information meets a preset monitoring rule or not; if so, the server plug-in sends the first data to the terminal, so that the terminal displays the running state of the server to a user according to the first data, and/or operates the server according to the first data. According to the method and the device, the server plug-in captures the running state information of the server, the running state of the server is judged according to the captured information, whether the first data is sent to the terminal or not is determined, and the problem that whether the server is abnormal or not can be known only by manually checking the server by a server manager in the prior art can be solved.

Description

Method and device for remotely monitoring server
Technical Field
The invention relates to a monitoring technology of a server, in particular to a method and a device for remotely monitoring the server, and belongs to the field of internet.
Background
The server is a device for providing computing services, and may be divided into a file server, a database server, an application server, and a WEB server.
When a plurality of servers are arranged, particularly when the servers are located in different areas, managers of the servers are difficult to directly acquire the operating states of the servers, and can only check the states of the servers on the site where the servers are located, or the servers are connected through the internet, and whether each server has a fault or not is manually checked through checking information such as operating logs of the servers, so that the efficiency of the managers for managing the servers is low, and the faults of the servers cannot be found in time.
Disclosure of Invention
The invention provides a method and a device for remotely monitoring a server, which are characterized in that a server plug-in is used for capturing running state information of the server, judging the running state of the server according to the captured information and determining whether to send first data to a terminal, and the problem that whether the server is abnormal or not can be known only by manually checking the server by a server manager in the prior art can be solved.
A first aspect of the invention provides a method comprising: the server plug-in captures the running state information of the server;
the server plug-in judges whether the running state information meets a preset monitoring rule or not;
if so, the server plug-in sends first data to a terminal, so that the terminal displays the running state of the server to a user according to the first data, and/or operates the server according to the first data.
Optionally, before the server plug-in sends the first data to the terminal, the method further includes:
the server plug-in generates an execution instruction according to the running state information;
correspondingly, the sending, by the server plug-in, the first data to the terminal includes:
and the server plug-in sends the execution instruction to the terminal so that the terminal operates the server according to the execution instruction.
Optionally, the monitoring rule includes at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
Optionally, the first data includes at least one of:
the running state information, the preset error state information included in the running state information, and the illegal modified data information included in the running state information.
Optionally, the method further includes:
the server plug-in judges whether the current time and the time interval of last sending of the first data reach preset time or not;
and if so, the server plug-in sends the first data to the terminal.
Optionally, the server plug-in receives an update instruction sent by the terminal, where the update instruction is used to update the monitoring rule.
Another aspect of the present invention is to provide an apparatus for remotely monitoring a server, including: the capturing module is used for capturing the running state information of the server;
the judging module is used for judging whether the running state information meets a preset monitoring rule or not;
if so, the sending module sends first data to a terminal so that the terminal displays the running state of the server to a user according to the first data and/or operates the server according to the first data.
Optionally, the method further includes:
the generating module is used for generating an execution instruction according to the running state information;
correspondingly, the sending module sending the first data to the terminal and sending the first data to the terminal includes:
and the sending module sends the execution instruction to the terminal so that the terminal operates the server according to the execution instruction.
Optionally, the monitoring rule includes at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
Optionally, the first data includes at least one of:
the running state information, the preset error state information included in the running state information, the illegal modified data information included in the running state information, and the system abnormal running information included in the running state information.
Optionally, the determining module is further configured to determine whether a time interval between the current time and the last time of sending the first data reaches a preset time;
and if so, the sending module sends the first data to the terminal.
Optionally, the update module is configured to receive an update instruction sent by the terminal, where the update instruction is used to update the monitoring rule.
The method and the device provided by the invention have the technical effects that: capturing running state information of the server through a server plug-in; judging whether the running state information meets a preset monitoring rule or not by the server plug-in; if so, the server plug-in sends the first data to the terminal, so that the terminal displays the running state of the server to a manager of the server according to the first data and/or operates the server according to the first data. The method comprises the steps of judging whether the running state of a server is abnormal or not by using a server plug-in, sending first data to a terminal according to a judgment result, so that the terminal prompts the running state of a user server according to the first data, operating the server, improving the monitoring efficiency of a user on a remote server, and avoiding the problem that the user needs to check the state of the server on the site where the server is located or is connected with the server through the Internet, and whether the server has a fault or not is checked according to the running log of the server by checking the running log of the server, so that the management efficiency of a manager for managing the server is low, and the fault of the server cannot be found in time. Meanwhile, the server plug-in unit executes the steps, so that the server can be remotely monitored on the basis of not changing the original interaction between the terminal and the server, the function of the plug-in unit is adjusted only by modifying the server plug-in unit, the interaction function between the terminal and the server is not required to be changed, and the operation is more convenient.
Drawings
FIG. 1 is a flow chart illustrating a method of remotely monitoring a server in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method of remotely monitoring a server in accordance with another exemplary embodiment of the present invention;
fig. 3 is a block diagram illustrating an apparatus of a remote monitoring server according to an exemplary embodiment of the present invention;
fig. 4 is a block diagram illustrating an apparatus of a remote monitoring server according to another exemplary embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart illustrating a method of remotely monitoring a server according to an exemplary embodiment of the present invention.
As shown in fig. 1, the method provided by this embodiment includes:
step 101, the server plug-in captures the running state information of the server.
Wherein, the server is a terminal for providing an application service to a user or for storing data, and the server can be connected to the internet. The server may be a single server or a plurality of servers, and if the number of servers is a plurality of servers, the plurality of servers may have a connection relationship or may operate independently. For example, in order to expand the storage capacity of some enterprises, a plurality of servers for storing data are arranged, the data stored between the servers may have a certain logical relationship, and at this time, the servers may be connected through a network, specifically, a plurality of servers may be connected through a local area network, an internal network, an external network, and the like. When a plurality of servers are provided, particularly when the servers are distributed in different areas, a manager of the server cannot monitor the operating state of the server in time.
In the method provided by this embodiment, the server plug-in can capture the running state information of the server, where the server plug-in refers to a program written by an application program interface conforming to a certain specification, and can run on a platform specified by the program. The server plug-in can be installed in the server being monitored, also can install in other terminals, if the server plug-in is installed in other terminals, this terminal can be connected with server being monitored, make the server plug-in of setting up in this terminal can snatch the running state information of server being monitored.
Specifically, the running state information refers to various states of software and hardware of the server during running, such as processor utilization, storage space occupation, and process running status, and may further include data storage stored in the server, such as whether data is illegally modified or deleted. The authority can be opened to the server plug-in, so that the server plug-in can access and capture various running state information in the server.
Optionally, the server plug-in may monitor the running state in the server in real time, so as to discover the abnormal condition of the server more timely.
Step 102, the server plug-in judges whether the running state information meets a preset monitoring rule.
After the server plug-in captures the running state information, the running state information is judged, and whether the running state meets a preset monitoring rule or not is judged.
Specifically, the monitoring rule may include a preset rule for determining whether an abnormal condition occurs in the server, for example, whether the running process of the server includes an existing process in a blacklist, whether a storage space of the server is greater than a threshold, and the like. If these abnormal conditions occur, step 103 is executed.
Further, the method provided in this embodiment may further include determining whether the time interval between the current time and the time when step 103 was last executed meets a preset time, and if yes, step 103 is executed. For example, step 103 is set to be performed every 5 minutes.
The two rules can also be set simultaneously, when the server has a preset abnormal condition, step 103 is executed, if the server has no preset abnormal condition, whether the time for capturing the state information and the time interval for executing step 103 last time meet the preset time is judged, and if yes, step 103 is executed.
And 103, the server plug-in sends the first data to the terminal so that the terminal displays the running state of the server to a user according to the first data and/or operates the server according to the first data.
In actual application, the server plug-in sends first data to the terminal after judging that the captured running state information meets the preset rule. The first data may include running state information directly captured by the server plug-in, may also include abnormal information in the screened running state information, and may also include an execution instruction generated by the server plug-in according to the state information. Specifically, the terminal that receives the first data is a terminal used by the server manager. If the first data comprises the running state information, after the terminal receives the first data, the first data can be displayed through a display interface user of the terminal for reference of a manager of the server, and therefore whether the server is abnormal or not is judged. If the first data comprises an execution instruction, the terminal can display the execution instruction after receiving the first data, or directly judge whether the execution instruction is legal according to a preset rule, if so, the terminal sends the execution instruction to the server, so that the server performs corresponding operation according to the execution instruction. Specifically, the execution instruction may start a preset service in the server, so that the server may perform a corresponding operation when the terminal sends the execution instruction to the server. For example, when the running state information captured by the server plug-in includes a format of a stored file modified by an abnormal program, the server plug-in may generate an instruction for stopping running of the abnormal program according to the state, and then send the instruction to the terminal, and the terminal automatically determines whether the instruction is legal or not, or a server administrator determines whether the instruction is legal or not, and if so, the terminal sends the instruction back to the server, so that the server executes the instruction.
In the method provided by the embodiment, the running state information of the server is captured through the server plug-in; judging whether the running state information meets a preset monitoring rule or not by the server plug-in; if so, the server plug-in sends the first data to the terminal, so that the terminal displays the running state of the server to a manager of the server according to the first data and/or operates the server according to the first data. The method comprises the steps of judging whether the running state of a server is abnormal or not by using a server plug-in, sending first data to a terminal according to a judgment result, so that the terminal prompts the running state of a user server according to the first data, operating the server, improving the monitoring efficiency of a user on a remote server, and avoiding the problem that the user needs to check the state of the server on the site where the server is located or is connected with the server through the Internet, and whether the server has a fault or not is checked according to the running log of the server by checking the running log of the server, so that the management efficiency of a manager for managing the server is low, and the fault of the server cannot be found in time. Meanwhile, the server plug-in unit executes the steps, so that the server can be remotely monitored on the basis of not changing the original interaction between the terminal and the server, the function of the plug-in unit is adjusted only by modifying the server plug-in unit, the interaction function between the terminal and the server is not required to be changed, and the operation is more convenient.
Fig. 2 is a flowchart illustrating a method of remotely monitoring a server according to another exemplary embodiment of the present invention.
As shown in fig. 2, the method for remotely monitoring a server provided in this embodiment includes:
step 201, the server plug-in captures the running state information of the server.
Step 202, the server plug-in determines whether the running state information meets a preset monitoring rule.
If yes, go to step 203. Otherwise, step 201 is continued.
Wherein, the monitoring rule comprises at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
Specifically, the preset error state information may include at least one of the following: the CPU utilization rate exceeds a first threshold, the CPU utilization rate of any process exceeds a second threshold, the memory utilization rate exceeds a third threshold, and the memory utilization rate of any process exceeds a fourth threshold. If the utilization rate of the CPU or the memory is too high, the server is blocked, and further other terminals are fed back too slowly when acquiring data through the server, so that the user experience is poor.
Further, the preset error state information may also include information that an error report or failure occurs in a server log, for example, information about failure to access the server, a process running error in the server, and the like. That is, when the server log has error report or failure information, the server log is reported to the terminal, so that the server manager can timely know that the server has problems in operation through the terminal.
In practical application, the preset error state information may further include running processes including a blacklist process. For example, a process running in the server can be scanned in real time through the server plug-in, if the process in the blacklist exists, the process is reported to the terminal, and an instruction for stopping the process running can be generated according to the blacklist process and sent to the terminal, so that the terminal can automatically judge or judge whether to stop running the process by a manager. If so, sending the instruction to the server to enable the server to execute the instruction, otherwise, not sending the instruction to the server.
The illegal modification data information includes data stored in the illegal modification server, such as deleting a file stored in the server, modifying data in a file stored in the server, and the like. Specifically, when data is normally stored, the server plug-in generates a check code according to attribute information of the data, then the stored data is checked through the check code, if the data passes the check code, the data is judged not to be illegally modified, and if the data does not pass the check code, the data is judged to be illegally modified. In order to ensure the accuracy of the verification, the generated verification code can be synchronously updated when the data is normally modified.
And step 203, the server plug-in generates an execution instruction according to the running state information.
And if the server plug-in judges that the running state information meets the preset monitoring rule, generating an execution instruction according to the running state information. Specifically, the execution instruction is generated according to the running state information meeting the monitoring rule, for example, if the running state information includes running processes including a blacklist process, an instruction to stop running the blacklist process is generated.
And 204, the server plug-in sends the first data to the terminal, so that the terminal displays the running state of the server to a user according to the first data and/or operates the server according to the first data.
Wherein the first data comprises at least one of:
the running state information, the preset error state information included in the running state information, and the illegal modified data information included in the running state information.
Further, the first data may further include information that satisfies the monitoring rule and is included in the running state information, and may further include an execution instruction generated by the server plug-in, where the execution instruction is used to cause the terminal to operate the server by the execution instruction. In addition, in order to enable a manager of the server to know all the operation states of the server, all the captured operation states of the server may be transmitted to the terminal. Specifically, if the captured state information includes the state information previously sent to the terminal, the same state information is not sent to the terminal any more, so as to avoid redundancy of data received by the terminal, and slow data transmission speed caused by too large transmitted data.
In practical application, the terminal analyzes the first data after receiving the first data, and if the first data comprises the running state information of the server, the running state information is displayed in a display device of the terminal, so that a manager of the server can know the running state of the server in time. The display mode may be directly displayed on the display device of the terminal, or only part of the information may be displayed in a presentation window, and when the server manager clicks the presentation window, the entire information may be displayed.
Further, the method for remotely monitoring a server provided in this embodiment further includes:
in step 205, the server plug-in determines whether the current time and the time interval between the last sending of the first data reach the preset time. If yes, go to step 204.
In practical application, the preset time can be set according to requirements, for example, 1 minute.
When the running state of the server is in the monitoring rule, the server plug-in sends first data to the terminal, if the running state of the server is not in the monitoring rule, the server plug-in cannot send the running state of the server to the terminal, in order to avoid the situation that a manager of the server cannot know the running state of the server for a long time because the terminal does not receive running state information of the server for a long time, the server plug-in also judges whether the current time and the time interval for sending the first data last time reach preset time, and if so, the first data are sent to the terminal. Thereby enabling the terminal to receive the state information of the server at regular time.
If the server plug-in is installed in the server, the system time of the server can be captured, and the time difference between the current time and the last time of sending the first data is judged. If the server plug-in is installed in other terminals, the system time of the other terminals can be captured, and therefore the time difference between the current time and the last time of sending the first data is judged.
Optionally, the method for remotely monitoring a server provided in this embodiment may further include the following steps:
and the server plug-in receives an updating instruction sent by the terminal, wherein the updating instruction is used for updating the monitoring rule.
The server plug-in can update the monitoring rule according to the updating instruction of the terminal, can modify the existing monitoring rule, enables the existing monitoring rule to be more perfect, and can also add a new monitoring rule.
In addition, the server plug-in can be updated only according to the updating instruction sent by the terminal used by the server manager, so that the problem that the functions of the server plug-in are damaged due to the fact that other terminals send the updating instruction to the server plug-in is avoided.
According to the method for remotely monitoring the server, when the running state information captured by the server plug-in meets the preset monitoring rule or the time difference between the current time and the last time of sending the first data meets the preset time, the server plug-in sends the first data to the terminal, so that a server manager can know the running state of the server through the terminal in time. And the first data can also comprise an execution instruction generated by the server plug-in, the execution instruction is subjected to secondary verification by the terminal, and if the verification is passed, the execution instruction is sent to the server to enable the server to execute corresponding operation, so that abnormal conditions occurring in the server can be rapidly processed, and the server can safely operate.
Fig. 3 is a block diagram illustrating an apparatus of a remote monitoring server according to an exemplary embodiment of the present invention.
As shown in fig. 3, the apparatus for remotely monitoring a server provided in this embodiment includes:
a capturing module 31, configured to capture running state information of the server;
a judging module 32, configured to judge whether the running state information satisfies a preset monitoring rule;
if yes, the sending module 33 sends the first data to the terminal, so that the terminal displays the operation state of the server to the user according to the first data, and/or operates the server according to the first data.
The capturing module 31, the determining module 32 and the sending module 33 are sequentially connected, and the capturing module 31 may be further connected to the sending module 33, so that the sending module 33 can send the first data according to the information captured by the capturing module 31.
In particular, the grabbing module 31, the judging module 32 and the sending module 33 may be integrated in one server card.
The device provided by the embodiment captures the running state information of the server through the capture module; judging whether the running state information meets a preset monitoring rule or not by a judging module; if so, the sending module sends the first data to the terminal so that the terminal can show the running state of the server to a manager of the server according to the first data and/or operate the server according to the first data. The server plug-in is used for finishing the functions, so that whether the running state of the server is abnormal or not is judged, the first data is sent to the terminal according to the judgment result, the terminal prompts the running state of the user server according to the first data, the server is operated, the monitoring efficiency of a user on the remote server can be improved, and the problems that the user needs to check the state of the server on the site where the server is located or the user is connected with the server through the Internet, whether the server has a fault or not is checked according to the running log by checking the running log of the server, the efficiency of managing the server by a manager is low, and the fault of the server cannot be found in time are solved. Meanwhile, the server plug-in unit executes the steps, so that the server can be remotely monitored on the basis of not changing the original interaction between the terminal and the server, the function of the plug-in unit is adjusted only by modifying the server plug-in unit, the interaction function between the terminal and the server is not required to be changed, and the operation is more convenient.
The specific principle and implementation of the apparatus of the remote monitoring server provided in this embodiment are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Fig. 4 is a block diagram illustrating an apparatus of a remote monitoring server according to another exemplary embodiment of the present invention.
As shown in fig. 4, the apparatus provided in this embodiment further includes:
a generating module 34, configured to generate an execution instruction according to the running state information;
accordingly, the sending module 33 sends the first data to the terminal and sends the first data to the terminal includes:
the sending module 33 sends an execution instruction to the terminal, so that the terminal operates the server according to the execution instruction.
Wherein, the monitoring rule comprises at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
Specifically, the first data includes at least one of:
the running state information, the preset error state information included in the running state information, and the illegal modified data information included in the running state information.
Optionally, the determining module 32 is further configured to determine whether the time interval between the current time and the last time of sending the first data reaches a preset time;
if yes, the sending module 33 sends the first data to the terminal.
The device provided by the embodiment further comprises: an update module;
the updating module is used for receiving an updating instruction sent by the terminal, and the updating instruction is used for updating the monitoring rule.
The device for remotely monitoring the server provided by the embodiment sends the first data to the terminal by the sending module when the running state information captured by the capturing module meets the preset monitoring rule or the time difference between the current time and the last time of sending the first data meets the preset time, so that a server manager can timely know the running state of the server through the terminal. And the first data can also comprise an execution instruction generated by the generation module, the execution instruction is subjected to secondary verification by the terminal, and if the verification is passed, the execution instruction is sent to the server to enable the server to execute corresponding operation, so that abnormal conditions occurring in the server can be rapidly processed, and the server can safely operate.
The specific principle and implementation of the apparatus of the remote monitoring server provided in this embodiment are similar to those of the embodiment shown in fig. 2, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of remotely monitoring a server, comprising:
the server plug-in captures the running state information of the server;
the server plug-in judges whether the running state information meets a preset monitoring rule or not;
if so, the server plug-in generates an execution instruction according to the running state information and sends first data to a terminal, so that the terminal displays the running state of the server to a user according to the first data and/or operates the server according to the first data, wherein the first data comprises information meeting monitoring rules and included in the running state information and the execution instruction generated by the server plug-in;
the method of remotely monitoring a server further comprises: and the server plug-in receives an updating instruction sent by the terminal, wherein the updating instruction is used for updating the monitoring rule.
2. The method of claim 1, wherein the server plug-in sending the first data to the terminal comprises:
and the server plug-in sends the execution instruction to the terminal so that the terminal operates the server according to the execution instruction.
3. The method according to claim 1 or 2, wherein the monitoring rule comprises at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
4. The method of claim 3, wherein the first data comprises at least one of:
the running state information, the preset error state information included in the running state information, and the illegal modified data information included in the running state information.
5. The method of claim 3, further comprising:
the server plug-in judges whether the current time and the time interval of last sending of the first data reach preset time or not;
and if so, the server plug-in sends the first data to the terminal.
6. An apparatus for remotely monitoring a server, comprising:
the capturing module is used for capturing the running state information of the server;
the judging module is used for judging whether the running state information meets a preset monitoring rule or not;
if yes, a generating module is used for generating an execution instruction according to the running state information; a sending module sends first data to a terminal so that the terminal displays the running state of the server to a user according to the first data and/or operates the server according to the first data, wherein the first data comprises information meeting monitoring rules and included in the running state information and an execution instruction generated by the server plug-in;
and the updating module is used for receiving an updating instruction sent by the terminal, and the updating instruction is used for updating the monitoring rule.
7. The apparatus of claim 6, further comprising:
correspondingly, the sending module sending the first data to the terminal and sending the first data to the terminal includes:
and the sending module sends the execution instruction to the terminal so that the terminal operates the server according to the execution instruction.
8. The apparatus of claim 6 or 7, wherein the monitoring rule comprises at least one of the following rules:
whether the running state information comprises preset error state information or not;
whether the operation state information includes illegal modification data information.
9. The apparatus of claim 8, wherein the first data comprises at least one of:
the running state information, the preset error state information included in the running state information, and the illegal modified data information included in the running state information.
10. The apparatus of claim 8,
the judging module is further used for judging whether the current time and the time interval of last sending of the first data reach preset time or not;
and if so, the sending module sends the first data to the terminal.
CN201710972265.1A 2017-10-18 2017-10-18 Method and device for remotely monitoring server Active CN107800783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710972265.1A CN107800783B (en) 2017-10-18 2017-10-18 Method and device for remotely monitoring server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710972265.1A CN107800783B (en) 2017-10-18 2017-10-18 Method and device for remotely monitoring server

Publications (2)

Publication Number Publication Date
CN107800783A CN107800783A (en) 2018-03-13
CN107800783B true CN107800783B (en) 2020-11-24

Family

ID=61533274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710972265.1A Active CN107800783B (en) 2017-10-18 2017-10-18 Method and device for remotely monitoring server

Country Status (1)

Country Link
CN (1) CN107800783B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505107A (en) * 2018-05-16 2019-11-26 视联动力信息技术股份有限公司 A kind of monitoring method and view networking management system
CN109062761A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 A kind of server state management method, apparatus and system
CN109284200A (en) * 2018-09-04 2019-01-29 深圳市宝德计算机***有限公司 Server exception processing method, equipment and processor
CN109714214B (en) * 2018-12-29 2021-08-27 网宿科技股份有限公司 Server exception handling method and management equipment
CN110519558A (en) * 2019-07-19 2019-11-29 苏州浪潮智能科技有限公司 The processing method and its Baseboard Management Controller of video data
CN112699012A (en) * 2020-11-09 2021-04-23 陈善良 Computer monitoring method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710467A (en) * 2012-06-29 2012-10-03 北京天地云箱科技有限公司 Monitoring method and monitoring device
CN105893211A (en) * 2016-04-05 2016-08-24 浪潮电子信息产业股份有限公司 Method and system for monitoring

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090177646A1 (en) * 2008-01-09 2009-07-09 Microsoft Corporation Plug-In for Health Monitoring System
CN105843728A (en) * 2016-03-28 2016-08-10 山东超越数控电子有限公司 Method for remotely controlling servers under cloud computing environment by using WMI plug-in
CN105897474A (en) * 2016-04-08 2016-08-24 浪潮集团有限公司 Method of utilizing WMI plug-in to realize remote control server under cloud computing environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710467A (en) * 2012-06-29 2012-10-03 北京天地云箱科技有限公司 Monitoring method and monitoring device
CN105893211A (en) * 2016-04-05 2016-08-24 浪潮电子信息产业股份有限公司 Method and system for monitoring

Also Published As

Publication number Publication date
CN107800783A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN107800783B (en) Method and device for remotely monitoring server
CN107451040B (en) Method and device for positioning fault reason and computer readable storage medium
CN109614283B (en) Monitoring system of distributed database cluster
CN111092786B (en) Network equipment safety authentication service reliability enhancing system
CN103200021B (en) Network management system, client, service end and the method for realizing batch configuration data
CN111522703B (en) Method, apparatus and computer program product for monitoring access requests
CN110088744A (en) A kind of database maintenance method and its system
CN111367753B (en) Cloud desktop screen recording method and device based on network communication engine ICE architecture
WO2023125851A1 (en) Remote diagnostics method and apparatus, electronic device and storage medium
CN114884796B (en) Fault processing method and device, electronic equipment and storage medium
CN104065526A (en) Server fault alarming method and device thereof
CN111510339A (en) Industrial Internet data monitoring method and device
CN108199901B (en) Hardware repair reporting method, system, device, hardware management server and storage medium
CN113608908B (en) Server fault processing method, system, equipment and readable storage medium
CN108600007B (en) Cloud platform responsibility tracing method and system
CN112306871A (en) Data processing method, device, equipment and storage medium
CN115632706B (en) FC link management method, device, equipment and readable storage medium
CN109104314B (en) Method and device for modifying log configuration file
CN114844772A (en) Management method and system based on Zabbix monitoring platform
CN110362464B (en) Software analysis method and equipment
CN112230949A (en) Terminal software upgrading method and device, electronic equipment and storage medium
CN112054925A (en) Method and device for deploying background service
CN115865910B (en) Equipment control method, device and server
KR101883407B1 (en) detecting methods and systems of prevention check for information system using agentless
CN116050774A (en) Maintenance data processing method and system for industrial Internet equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200420

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant