CN104935621A - Remote monitoring system and remote monitoring method - Google Patents
Remote monitoring system and remote monitoring method Download PDFInfo
- Publication number
- CN104935621A CN104935621A CN201410106482.9A CN201410106482A CN104935621A CN 104935621 A CN104935621 A CN 104935621A CN 201410106482 A CN201410106482 A CN 201410106482A CN 104935621 A CN104935621 A CN 104935621A
- Authority
- CN
- China
- Prior art keywords
- monitoring client
- module
- monitored end
- monitoring
- state information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a remote monitoring system and a remote monitoring method, and belongs to the technical field of system monitoring. The remote monitoring system includes a monitoring end and a plurality of monitored ends; the monitoring end is internally provided with a communication module; the monitoring end is connected with and remotely logs in the plurality of monitored ends through the communication module; and the monitoring end also includes an instruction module connected with the communication module and used for sending a call instruction to the monitored ends through the communication module to call and execute corresponding system commands of operating systems of the monitored ends, a data processing module connected with the communication module and used for receiving through the communication module execution results responding to the system commands which are returned by the operating systems of the monitored ends and processing to obtain status information of the operating systems of the monitored ends according to the execution results, and an alarm module which executes an alarm action according to the status information. The beneficial effects of the abovementioned technical scheme are that a circumstance that agent software occupies system resources of the monitored ends and thereby influencing normal operation of the operating systems of the monitored ends is avoided, and applicability of the overall systems is relatively wide.
Description
Technical field
The present invention relates to system monitor technique field, particularly relate to a kind of long distance control system and long-distance monitoring method.
Background technology
In the technology of existing remote monitoring client operating system, in order to support remote monitoring function, usually need, in monitored client, corresponding agent software is installed.When implementing remote monitoring, by carrying out with the agent software in monitored client the object being connected the monitoring state realized the operating system in client.But the method monitored of installation agent software carrying out on the client, following problem can be brought:
1) operation of agent software can take the system resource of client operating system itself, special in bug appears in agent software itself, likely can interfere with the normal operation of operating system, exhaust the system resource of operating system even sometimes;
2) user is in order to maintenance proxy software, usually can upgrade to agent software or the operation such as patch installing, but when monitored client terminal quantity is huger, the operation of this kind of upgrading or patch installing implements very difficult; Meanwhile, often increase a client, user needs to install an agent software thereon, a large amount of human resources of the production consumption of this repeatability;
3) due to agent software run on the client time, usually adopt the mode of finger daemon to hide on backstage, therefore when agent software is because of unexpected termination, system cannot judge that the server of remote monitoring is delayed machine or run-time error appears in agent software itself.
Based on the problems referred to above, when carrying out remote monitoring to the operating system in client, needing user to possess higher professional knowledge and technical merit, this strongly limits the scope of application of system monitoring function.
Summary of the invention
According to problems of the prior art, namely when the operating system of remote monitoring client, need an agent software is installed on the client, thus bring:
1) operation of agent software can take the system resource of client operating system itself, special in bug appears in agent software itself, likely can interfere with the normal operation of operating system, exhaust the system resource of operating system even sometimes;
2) user is in order to maintenance proxy software, usually can upgrade to agent software or the operation such as patch installing, but when monitored client terminal quantity is huger, the operation of this kind of upgrading or patch installing implements very difficult; Meanwhile, often increase a client, user needs to install an agent software thereon, a large amount of human resources of the production consumption of this repeatability;
3) due to agent software run on the client time, usually adopt the mode of finger daemon to hide on backstage, therefore when agent software is because of unexpected termination, system cannot judge that the server of remote monitoring is delayed machine or run-time error appears in agent software itself.
A kind of long distance control system and long-distance monitoring method are now provided, specifically comprise:
A kind of long distance control system, wherein, comprises a monitoring client and multiple monitored end; A communication module is provided with in described monitoring client; Described monitoring client connects multiple described monitored end respectively by described communication module, to carry out interactive communication to described monitored end;
Described monitoring client also comprises:
Instruction module, connects described communication module, for sending call instruction by described communication module to described monitored end, performs the corresponding system command of the operating system of described monitored end with far call;
The configuration file sending described call instruction for described instruction module is preset with in described instruction module;
Data processing module, connect described communication module, for the execution result of the described system command that the operating system receiving described monitored end by described communication module returns, and obtain the state information of the operating system of described monitored end according to described execution result process;
Alarm module, connects described data processing module, for judging described state information with the standard Rule of judgment preset, performs corresponding alarm action subsequently according to judged result.
Preferably, this long distance control system, wherein, described monitoring client also comprises:
Initialization module, connects described instruction module, for carrying out initialization operation when described monitoring client starts to described configuration file.
Detection module, connects described communication module, for detect when described monitoring client is by connecting between described communication module with described monitored end be connected whether normal;
Judge module, connects described communication module, for judging that whether completing one between described monitoring client and described monitored end takes turns described interactive communication;
Timing module, connect described judge module and described detection module respectively, described timing module is built-in with a time interval of presetting, and whether the connection that described detection module restarts to detect between described monitoring client and described monitored end after the described time interval of presetting is normal.
Preferably, this long distance control system, wherein, described monitoring client also comprises:
Display module, connects described data processing module, converts visual image information to for the described state information exported by described data processing module and shows.
Preferably, this long distance control system, wherein, described alarm module comprises:
Decision means, connects described data processing module; The multiple described standard state condition of corresponding different described state informations is preset with in described decision means; Described decision means receives the described state information that described data processing module sends, and judges whether described state information meets corresponding described standard state condition;
Alarm components, connects described decision means, the pre-defined multiple alarm actions having corresponding different described standard state conditions in described alarm components; Described alarm components, according to the judged result of described decision means, performs corresponding alarm action.
Preferably, this long distance control system, wherein, described monitoring client also comprises:
Memory module, connects described data processing module, for preserving the described state information of each described monitored end.
A kind of long-distance monitoring method, wherein, comprise the monitored end that a monitoring client is connected with multiple and described monitoring client, described monitoring client carries out interactive communication to described monitored end;
The step of described long-distance monitoring method specifically comprises:
Step 1, described monitoring client connects described monitored end, and the operating system of monitored end described in Telnet;
Step 2, described monitoring client sends call instruction to described monitored end, calls corresponding system command with the operating system controlling described monitored end;
Step 3, the described monitoring client operating system received from described monitored end responds the corresponding execution result of described system command;
Step 4, described monitoring client obtains the corresponding state information of the operating system of described monitored end according to described execution result process.
Step 5, judges whether that completing one to described monitored end takes turns interactive communication;
If complete one to described monitored end to take turns interactive communication, then, after waiting for a time interval of presetting, return described step 1;
If do not complete one to described monitored end to take turns interactive communication, then directly return described step 1.
Preferably, this long-distance monitoring method, wherein,
When described monitoring client is activated, first initialization operation is carried out to the configuration file of described monitoring client, start subsequently to perform described step 1;
Described configuration file sends described call instruction for described instruction module.
Preferably, whether this long-distance monitoring method, wherein, in described step 1, after connecting between described monitoring client and described monitored end, detect described monitoring client and be normally connected with described monitored end;
If normally connect, then continue to perform described step 1;
If normally do not connect, then go to described step 5.
Preferably, this long-distance monitoring method, wherein, when described monitoring client sends to described monitored end the described call instruction needing monitoring continuously, the described default time interval is 10 seconds.
Preferably, this long-distance monitoring method, wherein, when described monitoring client needs the described call instruction of regular monitoring to described monitored end transmission, the described default time interval is 300 seconds.
Preferably, this long-distance monitoring method, wherein, in described step 4, after described monitoring client obtains described state information, described monitoring client preserves described state information.
Preferably, this long-distance monitoring method, wherein, in described step 4, after described monitoring client obtains described state information, forms visual image information by described state information process and shows.
Preferably, this long-distance monitoring method, wherein, is preset with the multiple standard Rule of judgment corresponding to different types of described state information in described monitoring client;
The pre-defined multiple alarm actions having corresponding different described standard state conditions in described monitoring client;
In described step 4, described monitoring client judges whether described state information meets corresponding described standard Rule of judgment: if described state information meets described standard Rule of judgment, then described monitoring client does not carry out any operation;
If described state information does not meet described standard Rule of judgment, then described monitoring client is according to the described standard Rule of judgment of described judged result institute foundation, performs corresponding alarm action.
The beneficial effect of technique scheme is:
1) agent software is avoided to take too much system resource;
2) the normal operation having influence on operating system when bug appears in agent software self is avoided;
3) upgrade agent software or the trouble for its patch installing is avoided;
4) operate without the need to professional, applicability is wide.
Accompanying drawing explanation
Fig. 1 is in preferred embodiment of the present invention, a kind of structural representation of long distance control system;
Fig. 2 is in preferred embodiment of the present invention, the schematic diagram that long distance control system is connected with external module;
Fig. 3 is in preferred embodiment of the present invention, a kind of overall procedure schematic diagram of long-distance monitoring method;
Fig. 4-5 is in preferred embodiment of the present invention, monitors different schematic flow sheet during different monitoring projects;
Fig. 6 is in preferred embodiment of the present invention, the structural representation of long distance control system user's alarm externally;
Fig. 7 is in preferred embodiment of the present invention, carries out the chart schematic diagram of alarm operation.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, in preferred embodiment of the present invention, a kind of long distance control system comprises monitoring client 1 and multiple monitored end 2; Be provided with communication module 11 in monitoring client 1, monitoring client 1 is connected with multiple monitored end 2 by communication module 11, respectively to carry out interactive communication to monitored end.
In preferred embodiment of the present invention, above-mentioned monitoring client 1 also comprises the instruction module 12 of a connection communication module 11, and the data processing module 13 of a connection communication module 11.
Monitoring client 1 control command module 12 sends call instruction by communication module 11 to corresponding monitored end 2, to call system command corresponding in the operating system of monitored end 2;
The execution result that monitoring client 1 control data processing module 13 is responded after receiving the operating system executive system order of monitored end 2 transmission by communication module 11.Data processing module 13 is according to the execution result responded, and process draws corresponding state information and exports.
In preferred embodiment of the present invention, still as shown in Figure 1, also comprise in monitoring client 1:
Initialization module 14, connects above-mentioned data processing module 12.In preferred embodiment of the present invention, in data processing module 12, be preset with configuration file, for sending call instruction for monitoring client 1 to monitored end 2.Initialization module 14 carries out initialization operation when monitoring client 1 starts to configuration file wherein, namely carries out initialization operation to monitoring client.
Detection module 15, connects above-mentioned communication module 11.In preferred embodiment of the present invention, after communication module 11 connects between monitoring client 1 and monitored end 2, whether normally detection module 15 is adopted to detect connection.
In preferred embodiment of the present invention, in monitoring client 1, be also provided with a judge module 17, and a timing module 18.Judge module 17 connects communication module 11, for judging that whether having completed one between monitoring client and monitored end takes turns interactive communication.Whether timing module 18 is connection judgment module 17 and detection module 15 respectively, normal for the connection restarted between test and monitoring end and described monitored end after the default time interval.
Particularly, in preferred embodiment of the present invention, if monitoring client completes one to monitored end and takes turns interactive communication, namely after monitoring client all carried out an interactive communication to all monitored ends, after then waiting for the default time interval, whether the connection of detection module 15 again between test and monitoring end and monitored end be normal;
If do not complete one between monitoring client and monitored end to take turns interactive communication, namely have monitored end not to be detected, then whether the connection between detection module 15 direct-detection monitoring client and monitored end is normal.
In preferred embodiment of the present invention, further, can the parts with difference in functionality be set in data processing module 13, specifically comprise:
Data acquisition section 131, connects communication module 11, the above-mentioned execution result that the operating system for obtaining monitoring client 2 is responded;
Data processor 132, connection data obtaining widget 131, for drawing corresponding state information according to above-mentioned execution result process, exports this state information subsequently.
In preferred embodiment of the present invention, monitoring client 1 is also provided with a display module 19 be connected with above-mentioned data processing module 13.The state information that the data processing module 13 received exports is converted to corresponding visual image information (such as representing the coordinate diagram of the state variation of the operating system of monitored end, block diagram or other charts etc.) and shows by this display module 19.In preferred embodiment of the present invention, above-mentioned display module 20 can by image information display on the display screen of monitoring client.
In preferred embodiment of the present invention, be also provided with an alarm module 20 in monitoring client 1, this alarm module 20 connects above-mentioned data processing module 13.In preferred embodiment of the present invention, a decision means 201 be connected with data processing module 13 is set in alarm module 20.In preferred embodiment of the present invention, multiple standard Rule of judgment is preset in decision means 201, each standard Rule of judgment corresponds to above-mentioned a kind of state information (such as representing the state information of the memory capacity of operating system current use, the standard Rule of judgment corresponding to a default memory capacity occupation rate).Different types of state information that decision means 201 exports according to data processor 132, selects a corresponding standard Rule of judgment to compare, and exports judged result.
Further, in preferred embodiment of the present invention, in alarm module 20, be also provided with the alarm components 202 of the above-mentioned decision means 201 of a connection, the pre-defined different alarm action having corresponding different types of state information in this alarm components 202; Alarm components 202 receives the above-mentioned judged result that decision means 201 exports, and performs different alarm actions according to judged different types of state information.Perform the process of alarm action by hereafter describing in detail.
In preferred embodiment of the present invention, a memory module 16 be connected with data processing module 13 is also provided with in monitoring client 1, for preserving the state information exported by data processing module 13, when needing to check historical record for user, carry out call operation.Further, above-mentioned memory module 16 is connected with data processor 132.
In preferred embodiment of the present invention, above-mentioned memory module can be a RRD(ReadReceive Data register, reads receive data register) database.
In preferred embodiment of the present invention, be illustrated in figure 2 the schematic diagram that above-mentioned long distance control system is connected with external module.The set of other functional modules in monitoring client after monitoring server A1(removes memory module) be connected with monitored end B by IP network, and transceiving data.Further, in preferred embodiment of the present invention, by Telnet/SSH agreement, (both are network security protocol to monitoring server A1, and telnet agreement completes Telnet and the ability realizing host work on the local computer for user provides; SSH agreement, i.e. safety shell protocol (Secure Shell), for user provides the interface routine of remote session and transmission data) send call instruction to monitored end B and obtain execution result.Monitoring server A1 generates state information according to execution result, check for user, information is write RRD database A2(and the memory module described in preferred embodiment of the present invention simultaneously) in, therefore, monitoring server A1 and RRD database A2 forms monitoring client A.When state information exceeds default critical field, monitoring server sends warning information in the alarm mode of correspondence to user C.
As shown in Figure 3, in preferred embodiment of the present invention, a kind of long-distance monitoring method specifically comprises:
Comprise monitoring client and multiple monitored end, monitoring client is connected with multiple monitored end by a built-in communication module, and carries out interactive communication to monitored end.In preferred embodiment of the present invention, the vibrational power flow of monitoring client and monitored end can with reference to system configuration above and Figure of description 1-2.
Step 1, monitoring client connects monitored end, and the operating system of the monitored end of Telnet;
In preferred embodiment of the present invention, so that monitored end to be provided with UNIX operating system, namely the operating system that monitoring client logs in monitored end mean acquisition interface routine (shell), thus monitoring client can by realizing transfer of data between this interface routine and monitored end.
Step 2, monitoring client sends call instruction to monitored end, calls corresponding system command with the operating system controlling monitored end;
Step 3, monitoring client receives the corresponding execution result of the operating system response system command from monitored end;
Step 4, monitoring client obtains the corresponding state information of the operating system of monitored end according to execution result process;
Step 5, judges whether monitoring client completes one to monitored end and take turns interactive communication;
If complete one to monitored end to take turns interactive communication, then, after waiting for a time interval of presetting, return step 1;
If do not complete one to monitored end to take turns interactive communication, then directly return step 1.
In preferred embodiment of the present invention, above-mentioned monitoring client completes one to monitored end and takes turns switched communication, refers to that monitoring client all completes once complete monitor procedure to all monitored ends.
Further, in preferred embodiment of the present invention, when monitoring client is activated, first adopts initialization module to carry out initialization operation to monitoring client, be mainly and initialization operation is carried out to the configuration file of monitoring client, start subsequently to perform step 1.
In preferred embodiment of the present invention, in monitoring client, be preset with above-mentioned configuration file, send call instruction to call the system command of the operating system of monitored end for user.
In preferred embodiment of the present invention, the actual finger daemon service routine for initialization telnetd(Telnet of the process of above-mentioned initialization monitoring client, provides the Virtual terminal service of telnet agreement) process.
Further, in preferred embodiment of the present invention, in step 1, after connecting between monitoring client and monitored end, whether test and monitoring end is normally connected with monitored end;
If normally connect, then continue to perform step 1;
If normally do not connect, then go to step 5.
In preferred embodiment of the present invention, in the operating system of monitored end, include the monitoring project that many needs carry out monitoring.Some is the monitoring project needing to carry out monitoring in real time, namely monitoring client needs the system command of continuous call operation system, to obtain about this monitored item object multiple value of continuous print in time, such as, to represent this monitored item object consecutive variations, the ruuning situation etc. of system kernel; Some is the monitoring project needing to carry out regular monitoring, and namely the system command of the regular call operation system of monitoring client, obtains relevant execution result, the ruuning situation of such as some application programs, the service condition etc. of the situation that internal memory uses and file system.For above-mentioned two kinds of monitoring projects, monitoring client needs to perform different call instructions, calls and performs different system commands.
In preferred embodiment of the present invention, for the first monitoring project, namely the monitoring project of carrying out monitoring is in real time needed, be generally the ruuning situation of monitoring processor (CPU), monitoring client sends call instruction, to call the corresponding system command of the operating system inside of monitored end by communication module to corresponding monitored end.In preferred embodiment of the present invention, above-mentioned for monitoring in real time, the called system command performed can comprise such as vmstart order (reporting the statistical information about kernel thread, virtual memory, disk, trap and cpu activity), iostat order (statistical information that output CPU is relevant with magnetic disc i/o) or sar the order service condition of internal memory and CPU (the reporting system resource especially).These system commands are called incessantly, and its invoked interval time is shorter, such as 60 seconds, represent the operating system execution result that just generation one was relevant in every 60 seconds.
In preferred embodiment of the present invention, carry out the monitoring project of monitoring in real time for above-mentioned needs, the above-mentioned default time interval can be 10 seconds.
In sum, in preferred embodiment of the present invention, for needing the monitoring project of carrying out in real time monitoring, its monitoring step as shown in Figure 4, Ke Yiwei:
Step a1, starts monitoring client;
Step a2, carries out initialization operation to the configuration file of monitoring client;
If initialization operation success, then go to step a3;
If initialization operation failure, then exit;
Step a3, monitoring client is connected to monitored end, and whether detect connection normal;
If connect normal, then go to step a4;
If malunion is normal, then initialization connects, and goes to step a7 subsequently;
Step a4, monitoring client sends call instruction to monitored end, and whether monitors monitored end by the execution result generation that can read;
Step a5, monitoring client reads execution result, and is stored in memory module;
Step a6, monitoring client draws corresponding state information according to execution result process, and operates according to state information:
According to the standard Rule of judgment of the correspondence preset, judge whether above-mentioned state information meets standard Rule of judgment; If meet, then do not operate; If do not meet, then perform corresponding alarm action;
State information converted to corresponding visual image information and show;
Step a7, after completing monitoring, judges whether that completing one to monitored end takes turns interactive communication;
If complete one to take turns interactive communication, then, after waiting for 10 seconds, return step a3;
If do not complete one to take turns interactive communication, then directly return step a3.
In preferred embodiment of the present invention, in above-mentioned steps a6, according to the standard Rule of judgment of the correspondence preset, also can do following process:
When meeting above-mentioned standard Rule of judgment, then perform corresponding alarm action;
When not meeting above-mentioned standard Rule of judgment, then do not do any operation.
In preferred embodiment of the present invention, above-mentioned judgement the detailed process of alarm are by hereinafter describing in detail.
In preferred embodiment of the present invention, in above-mentioned steps a4, monitoring client sends call instruction to monitored end, to call the corresponding system command also uninterrupted execution in the operating system of monitored end, thus obtains continuous print execution result in time.
In preferred embodiment of the present invention, for the second monitoring project, namely the monitoring project of carrying out regular monitoring is needed, be generally the network connection or file system service condition etc. of monitor operating system, monitoring client sends call instruction, to call the corresponding system command of the operating system inside of monitored end by communication module to corresponding monitored end.In preferred embodiment of the present invention, above-mentioned for regular monitoring, the called system command performed can comprise such as df-kl order (for obtaining the service condition of file system) and netstat-in order (for obtaining the service condition of network) etc.These system commands are called with the order preset.
In preferred embodiment of the present invention, for the above-mentioned monitoring project needing regular monitoring, the above-mentioned default time interval can be 300 seconds.
In sum, in preferred embodiment of the present invention, for the monitoring project needing regular monitoring, its monitoring step as shown in Figure 5, Ke Yiwei:
Step b1, starts monitoring client;
Step b2, carries out initialization operation to the configuration file of monitoring client;
If initialization operation success, then go to step b3;
If initialization operation failure, then exit;
Step b3, monitoring client is connected to monitored end, and whether detect connection normal;
If connect normal, then go to step b4;
If malunion is normal, then initialization connects, and goes to step b7 subsequently;
Step b4, monitoring client sends call instruction, with the corresponding multiple system command in order executive operating system to monitored end;
Step b5, whether the result of monitoring client monitoring command execution is normal;
If the result of command execution is normal, then monitoring client reads corresponding execution result;
If the result of command execution is abnormal, then go to step b7;
Step b6, monitoring client draws corresponding state information according to execution result process, and operates according to state information:
According to the standard Rule of judgment of the correspondence preset, judge whether above-mentioned state information meets standard Rule of judgment; If meet, then do not operate; If do not meet, then perform corresponding alarm action;
State information is converted to corresponding visual image information, and display on a display screen;
Step b7, after completing monitoring, judges whether that completing one to monitored end takes turns interactive communication;
If complete one to take turns interactive communication, then, after waiting for 300 seconds, return step b3;
If do not complete one to take turns interactive communication, then directly return step b3.
In preferred embodiment of the present invention, in above-mentioned steps b6, according to the standard Rule of judgment of the correspondence preset, also can do following process:
When meeting above-mentioned standard Rule of judgment, then perform corresponding alarm action;
When not meeting above-mentioned standard Rule of judgment, then do not do any operation.
In preferred embodiment of the present invention, above-mentioned judgement the detailed process of alarm are by hereinafter describing in detail.
In preferred embodiment of the present invention, in above-mentioned steps b4, monitoring client sends call instruction to monitored end, to call the corresponding system command in the operating system of monitored end, and perform multiple invoked system command according to the order preset, thus acquisition order performs the execution result of the correspondence that rear system is responded.
In preferred embodiment of the present invention, in above-mentioned steps 4, after monitoring client output state information, can several subsequent treatment be carried out:
1) the different standard Rule of judgment of the different types of state information of multiple correspondence is preset with in monitoring client.Therefore, in preferred embodiment of the present invention, state information compares with corresponding standard Rule of judgment by monitoring client, to judge whether it meets this Rule of judgment; Monitoring client performs different alarm actions according to judged result subsequently.
Further, in preferred embodiment of the present invention, if do not meet Rule of judgment, then monitoring client performs corresponding alarm action.
Or on the contrary, in preferred embodiment of the present invention, if meet Rule of judgment, then monitoring client performs corresponding alarm action.
In preferred embodiment of the present invention, be applicable to the warning system of above-mentioned long distance control system and long-distance monitoring method as shown in Figure 6, monitoring client obtains state information by data acquisition, and judges whether to need alarm according to different standard Rule of judgment; When needs alarm, monitoring client performs corresponding alarm action, notes to point out outside user.
In preferred embodiment of the present invention, in above-mentioned Fig. 6, MES(manufacturingexecution system) represent manufacturing execution system; MI(Manufacturing Integration) represent manufacturing integration system; EAS(Enterprise Administrate Service) represent service for business management; ERP(Enterprise Resource Planning) represent enterprise resource planning.
In preferred embodiment of the present invention, judge the concrete grammar of also alarm as shown in Figure 7:
CHECK ITEMS in Fig. 6 is monitoring project; PERFORMANCE represents the state information of monitoring; MONITOR DEFAULT INDEX represents the condition (i.e. standard Rule of judgment) and mode that need to carry out alarm; PHONE+SMS, E-MAIL represent and call simultaneously, send SMS message and send mail (conveniently hereinafter describing, by this alarm mode referred to as first kind alarm mode); Only E-MAIL represents and only sends mail (conveniently hereinafter describing, by this alarm mode referred to as Equations of The Second Kind alarm mode).Option under above-mentioned MONITOR DEFAULT INDEX arranges to be only and represents that priority triggers, and when the condition that two arrange lower correspondence is identical, first triggers forward alarm mode, is first kind alarm mode in preferred embodiment of the present invention.
In preferred embodiment of the present invention, N represents the execution result not receiving operating system and respond, and on the contrary, Y represents the execution result receiving operating system and respond.
In preferred embodiment of the present invention, further, each monitoring project is made an explanation:
ALIVE represents that the operating system of monitored end is normally run; In preferred embodiment of the present invention, when operating system does not normally run (DOWN), first kind alarm mode is adopted to notify user.
CPU represents the CPU(processor of operating system) service condition; In preferred embodiment of the present invention, when CPU usage >=95% of operating system, first kind alarm mode is adopted to notify user; When CPU usage >=90% of operating system, Equations of The Second Kind alarm mode is adopted to notify user.
MEMORY represents the internal memory service condition of operating system; In preferred embodiment of the present invention, when the internal memory surplus of operating system is 100MB, first kind alarm mode is adopted to notify user; When the internal memory surplus of operating system is 200MB, Equations of The Second Kind alarm mode is adopted to notify user.
FILE SYSTEM represents the file system service condition of operating system; In preferred embodiment of the present invention, when occupancy >=90% of file system, first kind alarm mode is adopted to notify user; When occupancy >=85% of file system, Equations of The Second Kind alarm mode is adopted to notify user.
INODE represents the service condition of the node of operating system; In preferred embodiment of the present invention, when occupancy >=90% of joint block, first kind alarm mode is adopted to notify user; When occupancy >=85% of joint block, Equations of The Second Kind alarm mode is adopted to notify user.
NETWORK represents the Internet Use of operating system; In preferred embodiment of the present invention, when the failure of operating system interconnection network, then first kind alarm mode is adopted to notify user.
SWAP be the exchange partition of operating system take situation; In preferred embodiment of the present invention, when hard-disk capacity≤1% that exchange partition takies, first kind alarm mode is adopted to notify user; When hard-disk capacity≤30% that exchange partition takies, Equations of The Second Kind alarm mode is adopted to notify user.
VIRTUAL MEMORY represents the virtual memory situation of operating system; In preferred embodiment of the present invention, when not having virtual memory in operating system (NO), first kind alarm mode is adopted to notify user.
SYSTEM CALL represents the system call situation of operating system; In preferred embodiment of the present invention, when not having system call in operating system (NO), first kind alarm mode is adopted to notify user.
2) state information is converted to visual image information (such as can represent the chart of the state variation of operating system) and is presented on the display screen of monitoring client by monitoring client, checks for user.
In preferred embodiment of the present invention, above-mentioned state information can be depicted as according to the time shaft obtained coordinate diagram/curve chart/block diagram etc. that can reflect state variation by running some drawing softwares by monitoring client, and is shown on the display screen of monitoring client.Namely above described Executive Module can be a drafting module, and above described display module can be a display screen.
3) state information is preserved in a memory module by monitoring client, calls when checking historical record for user.
In sum, in preferred embodiment of the present invention, above-mentioned long-distance monitoring method in short, that is:
Be connected to monitored end by automatic login module, and obtain one and can carry out mutual interface routine (shell) with the operating system of monitored end;
By interface routine, monitoring client sends call instruction to the operating system of monitored end, is used for the system command of call operation system, and obtains the response of operating system;
Monitoring client catches the execution result that operating system is responded, and carries out subsequent treatment, to form corresponding state information;
Monitoring client carries out subsequent treatment to state information, such as, stored in drawing software database, and by the tendency chart of drawing software the line is busy related performance indicators; Such as it is compared with corresponding standard Rule of judgment again, and send alarm signal to user (namely performing corresponding alarm action) according to comparative result in the alarm mode of correspondence; Again such as by it stored in RRD database, for calling after user and checking historical record.
On the basis of technique scheme; above-mentioned can by the technical characteristic selected; the operating system of such as monitored end is UNIX operating system; above-mentioned standard Rule of judgment and corresponding alarm signal etc.; all only be included in specific embodiment of the present invention, not thereby limit the scope of the invention.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.
Claims (13)
1. a long distance control system, is characterized in that, comprises a monitoring client and multiple monitored end; A communication module is provided with in described monitoring client; Described monitoring client connects multiple described monitored end respectively by described communication module, to carry out interactive communication to described monitored end;
Described monitoring client also comprises:
Instruction module, connects described communication module, for sending call instruction by described communication module to described monitored end, performs the corresponding system command of the operating system of described monitored end with far call;
The configuration file sending described call instruction for described instruction module is preset with in described instruction module;
Data processing module, connect described communication module, for the execution result of the described system command that the operating system receiving described monitored end by described communication module returns, and obtain the state information of the operating system of described monitored end according to described execution result process;
Alarm module, connects described data processing module, for judging described state information with the standard Rule of judgment preset, performs corresponding alarm action subsequently according to judged result.
2. long distance control system as claimed in claim 1, it is characterized in that, described monitoring client also comprises:
Initialization module, connects described instruction module, for carrying out initialization operation when described monitoring client starts to described configuration file.
Detection module, connects described communication module, for detect when described monitoring client is by connecting between described communication module with described monitored end be connected whether normal;
Judge module, connects described communication module, for judging that whether completing one between described monitoring client and described monitored end takes turns described interactive communication;
Timing module, connect described judge module and described detection module respectively, described timing module is built-in with a time interval of presetting, and whether the connection that described detection module restarts to detect between described monitoring client and described monitored end after the described time interval of presetting is normal.
3. long distance control system as claimed in claim 2, it is characterized in that, described monitoring client also comprises:
Display module, connects described data processing module, converts visual image information to for the described state information exported by described data processing module and shows.
4. long distance control system as claimed in claim 2, it is characterized in that, described alarm module comprises:
Decision means, connects described data processing module; The multiple described standard state condition of corresponding different described state informations is preset with in described decision means; Described decision means receives the described state information that described data processing module sends, and judges whether described state information meets corresponding described standard state condition;
Alarm components, connects described decision means, the pre-defined multiple alarm actions having corresponding different described standard state conditions in described alarm components; Described alarm components, according to the judged result of described decision means, performs corresponding alarm action.
5. long distance control system as claimed in claim 1, it is characterized in that, described monitoring client also comprises:
Memory module, connects described data processing module, for preserving the described state information of each described monitored end.
6. a long-distance monitoring method, is characterized in that, comprises the monitored end that a monitoring client is connected with multiple and described monitoring client, and described monitoring client carries out interactive communication to described monitored end;
The step of described long-distance monitoring method specifically comprises:
Step 1, described monitoring client connects described monitored end, and the operating system of monitored end described in Telnet;
Step 2, described monitoring client sends call instruction to described monitored end, calls corresponding system command with the operating system controlling described monitored end;
Step 3, the described monitoring client operating system received from described monitored end responds the corresponding execution result of described system command;
Step 4, described monitoring client obtains the corresponding state information of the operating system of described monitored end according to described execution result process.
Step 5, judges whether that completing one to described monitored end takes turns interactive communication;
If complete one to described monitored end to take turns interactive communication, then, after waiting for a time interval of presetting, return described step 1;
If do not complete one to described monitored end to take turns interactive communication, then directly return described step 1.
7. long-distance monitoring method as claimed in claim 6, is characterized in that,
When described monitoring client is activated, first initialization operation is carried out to the configuration file of described monitoring client, start subsequently to perform described step 1;
Described configuration file sends described call instruction for described instruction module.
8. whether long-distance monitoring method as claimed in claim 6, is characterized in that, in described step 1, after connecting between described monitoring client and described monitored end, detect described monitoring client and be normally connected with described monitored end;
If normally connect, then continue to perform described step 1;
If normally do not connect, then go to described step 5.
9. long-distance monitoring method as claimed in claim 7, is characterized in that, when described monitoring client sends to described monitored end the described call instruction needing monitoring continuously, the described default time interval is 10 seconds.
10. long-distance monitoring method as claimed in claim 7, is characterized in that, when described monitoring client needs the described call instruction of regular monitoring to described monitored end transmission, the described default time interval is 300 seconds.
11. long-distance monitoring methods as claimed in claim 6, it is characterized in that, in described step 4, after described monitoring client obtains described state information, described monitoring client preserves described state information.
12. long-distance monitoring methods as claimed in claim 6, is characterized in that, in described step 4, after described monitoring client obtains described state information, described state information process are formed visual image information and show.
13. long-distance monitoring methods as claimed in claim 6, is characterized in that, are preset with the multiple standard Rule of judgment corresponding to different types of described state information in described monitoring client;
The pre-defined multiple alarm actions having corresponding different described standard state conditions in described monitoring client;
In described step 4, described monitoring client judges whether described state information meets corresponding described standard Rule of judgment: if described state information meets described standard Rule of judgment, then described monitoring client does not carry out any operation;
If described state information does not meet described standard Rule of judgment, then described monitoring client is according to the described standard Rule of judgment of described judged result institute foundation, performs corresponding alarm action.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410106482.9A CN104935621A (en) | 2014-03-20 | 2014-03-20 | Remote monitoring system and remote monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410106482.9A CN104935621A (en) | 2014-03-20 | 2014-03-20 | Remote monitoring system and remote monitoring method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104935621A true CN104935621A (en) | 2015-09-23 |
Family
ID=54122593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410106482.9A Pending CN104935621A (en) | 2014-03-20 | 2014-03-20 | Remote monitoring system and remote monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104935621A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354128A (en) * | 2015-11-11 | 2016-02-24 | 中国建设银行股份有限公司 | Computer resource monitoring method, device and system |
CN105389202A (en) * | 2015-11-25 | 2016-03-09 | 福建天晴数码有限公司 | Method and system for processing application response |
CN106713420A (en) * | 2016-11-30 | 2017-05-24 | 国网北京市电力公司 | Monitoring deployment method and device |
CN106886475A (en) * | 2017-01-23 | 2017-06-23 | 北京思特奇信息技术股份有限公司 | A kind of monitoring server and the host monitor method based on order line |
CN108108238A (en) * | 2017-12-29 | 2018-06-01 | 长威信息科技发展股份有限公司 | A kind of method and electronic equipment that Autonomic Migration Framework is directed toward based on ITM monitoring agents |
CN108390937A (en) * | 2018-03-01 | 2018-08-10 | 深圳市腾讯计算机系统有限公司 | Long-distance monitoring method, device and storage medium |
CN108491483A (en) * | 2018-03-12 | 2018-09-04 | 北京奇虎科技有限公司 | A kind of method and apparatus of remote supervisor operating status |
CN108769279A (en) * | 2018-04-11 | 2018-11-06 | 北京富邦智慧物联科技有限公司 | Intranet fire fighting monitoring video access methods and system based on ssh reverse tunnels |
CN108986927A (en) * | 2018-07-18 | 2018-12-11 | 深圳市有钱科技有限公司 | Medical care information remote monitoring method, apparatus and system |
CN109194543A (en) * | 2018-08-24 | 2019-01-11 | 北京天元创新科技有限公司 | Collecting method and device |
WO2019223140A1 (en) * | 2018-05-24 | 2019-11-28 | 平安科技(深圳)有限公司 | Method for managing apparatus monitoring , device, computer apparatus and storage medium |
CN110708180A (en) * | 2018-07-10 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Fault detection method, fault analysis method and device |
WO2021097919A1 (en) * | 2019-11-20 | 2021-05-27 | 深圳市华星光电半导体显示技术有限公司 | Mes monitoring method, mes monitoring device, and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877618A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Monitoring method, server and system based on proxy-free mode |
CN102063360A (en) * | 2010-11-29 | 2011-05-18 | 深圳市五巨科技有限公司 | Remote server monitoring and warning method and device |
CN102238195A (en) * | 2011-08-11 | 2011-11-09 | 成都勤智数码科技有限公司 | Running monitoring method of application system |
CN102819478A (en) * | 2012-07-20 | 2012-12-12 | 中国科学院西安光学精密机械研究所 | Agent-free monitoring and managing method of data processing system |
-
2014
- 2014-03-20 CN CN201410106482.9A patent/CN104935621A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877618A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Monitoring method, server and system based on proxy-free mode |
CN102063360A (en) * | 2010-11-29 | 2011-05-18 | 深圳市五巨科技有限公司 | Remote server monitoring and warning method and device |
CN102238195A (en) * | 2011-08-11 | 2011-11-09 | 成都勤智数码科技有限公司 | Running monitoring method of application system |
CN102819478A (en) * | 2012-07-20 | 2012-12-12 | 中国科学院西安光学精密机械研究所 | Agent-free monitoring and managing method of data processing system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354128B (en) * | 2015-11-11 | 2018-05-18 | 中国建设银行股份有限公司 | A kind of computer resource monitoring method, apparatus and system |
CN105354128A (en) * | 2015-11-11 | 2016-02-24 | 中国建设银行股份有限公司 | Computer resource monitoring method, device and system |
CN105389202A (en) * | 2015-11-25 | 2016-03-09 | 福建天晴数码有限公司 | Method and system for processing application response |
CN106713420A (en) * | 2016-11-30 | 2017-05-24 | 国网北京市电力公司 | Monitoring deployment method and device |
CN106713420B (en) * | 2016-11-30 | 2019-11-22 | 国网北京市电力公司 | The dispositions method and device of monitoring |
CN106886475A (en) * | 2017-01-23 | 2017-06-23 | 北京思特奇信息技术股份有限公司 | A kind of monitoring server and the host monitor method based on order line |
CN108108238A (en) * | 2017-12-29 | 2018-06-01 | 长威信息科技发展股份有限公司 | A kind of method and electronic equipment that Autonomic Migration Framework is directed toward based on ITM monitoring agents |
CN108108238B (en) * | 2017-12-29 | 2022-01-11 | 长威信息科技发展股份有限公司 | ITM monitoring-based agent pointing automatic migration method and electronic equipment |
CN108390937B (en) * | 2018-03-01 | 2021-01-05 | 深圳市腾讯计算机系统有限公司 | Remote monitoring method, device and storage medium |
CN108390937A (en) * | 2018-03-01 | 2018-08-10 | 深圳市腾讯计算机系统有限公司 | Long-distance monitoring method, device and storage medium |
CN108491483A (en) * | 2018-03-12 | 2018-09-04 | 北京奇虎科技有限公司 | A kind of method and apparatus of remote supervisor operating status |
CN108491483B (en) * | 2018-03-12 | 2021-10-08 | 北京奇虎科技有限公司 | Method and device for remotely monitoring running state of program |
CN108769279A (en) * | 2018-04-11 | 2018-11-06 | 北京富邦智慧物联科技有限公司 | Intranet fire fighting monitoring video access methods and system based on ssh reverse tunnels |
WO2019223140A1 (en) * | 2018-05-24 | 2019-11-28 | 平安科技(深圳)有限公司 | Method for managing apparatus monitoring , device, computer apparatus and storage medium |
CN110708180A (en) * | 2018-07-10 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Fault detection method, fault analysis method and device |
CN110708180B (en) * | 2018-07-10 | 2023-01-06 | 阿里巴巴集团控股有限公司 | Fault detection method, fault analysis method and device |
CN108986927A (en) * | 2018-07-18 | 2018-12-11 | 深圳市有钱科技有限公司 | Medical care information remote monitoring method, apparatus and system |
CN109194543A (en) * | 2018-08-24 | 2019-01-11 | 北京天元创新科技有限公司 | Collecting method and device |
US11322013B2 (en) | 2019-11-20 | 2022-05-03 | Shenzhen China Star Optoelectronics Semiconductor Display Technology Co., Ltd. | Monitoring method of MES, monitoring device, and readable storage medium |
WO2021097919A1 (en) * | 2019-11-20 | 2021-05-27 | 深圳市华星光电半导体显示技术有限公司 | Mes monitoring method, mes monitoring device, and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104935621A (en) | Remote monitoring system and remote monitoring method | |
US10348809B2 (en) | Naming of distributed business transactions | |
US10606725B2 (en) | Monitor peripheral device based on imported data | |
CN102480749B (en) | Method, device and system for remotely collecting host process information | |
CN102571498B (en) | Fault injection control method and device | |
CN111416821A (en) | Internet of things equipment information acquisition method, system and device | |
US10848839B2 (en) | Out-of-band telemetry data collection | |
CN109245966A (en) | The monitoring method and device of the service state of cloud platform | |
CN101771565B (en) | Analogy method for realizing multitudinous or different baseboard management controllers by single server | |
US11438249B2 (en) | Cluster management method, apparatus and system | |
CN111966465B (en) | Method, system, equipment and medium for modifying host configuration parameters in real time | |
CN109254922B (en) | Automatic testing method and device for BMC Redfish function of server | |
EP3489777A1 (en) | Control device, control method, and program | |
CN115378841B (en) | Method and device for detecting state of equipment accessing cloud platform, storage medium and terminal | |
CN113326192A (en) | Application testing method, device, equipment and storage medium for mobile terminal | |
CN110618914A (en) | Monitoring method, device and system for distributed system cluster | |
US20070050666A1 (en) | Computer Network System and Related Method for Monitoring a Server | |
US11962458B2 (en) | Method and apparatus for controlling electronic devices | |
CN114048101A (en) | Server monitoring method, monitoring device and monitoring system | |
CN113656241A (en) | System and method for managing and controlling full life cycle of container terminal | |
CN116483566A (en) | Resource processing method and device for server, electronic equipment and storage medium | |
CN114021054A (en) | Operation and maintenance management method based on kvm combined industrial internet mode | |
CN115118757A (en) | Network remote calling method and device, computer equipment and storage medium | |
CN117931711A (en) | Configuration method, device, server and medium for completing overtime exit mechanism | |
CN118018405A (en) | Upgrading method and device of Internet of things equipment, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150923 |
|
RJ01 | Rejection of invention patent application after publication |