CN202652241U - Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS - Google Patents
Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS Download PDFInfo
- Publication number
- CN202652241U CN202652241U CN 201220293670 CN201220293670U CN202652241U CN 202652241 U CN202652241 U CN 202652241U CN 201220293670 CN201220293670 CN 201220293670 CN 201220293670 U CN201220293670 U CN 201220293670U CN 202652241 U CN202652241 U CN 202652241U
- Authority
- CN
- China
- Prior art keywords
- server
- monitoring
- short message
- mobile phone
- network
- 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.)
- Expired - Fee Related
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 39
- 238000013024 troubleshooting Methods 0.000 title claims description 5
- 230000002159 abnormal effect Effects 0.000 claims abstract description 11
- 241000282326 Felis catus Species 0.000 claims 4
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000007726 management method Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域 technical field
本实用新型涉及服务器监控领域,尤其是一种利用手机短信远程监控服务器及故障处理的装置。 The utility model relates to the field of server monitoring, in particular to a device for remotely monitoring servers and troubleshooting by using short messages of mobile phones.
背景技术 Background technique
服务器的各种应用服务如WEB服务、FTP服务、远程桌面、DNS、数据库、视频服务等等一旦出现了问题,只有等到用户使用该服务时才会发现问题,技术人员往往很难第一时间掌握情况,从而严重影响用户访问,严重影响服务质量,如果是特别关键的服务,还可能造成巨大的经济损失。 Once there is a problem with various application services of the server, such as WEB service, FTP service, remote desktop, DNS, database, video service, etc., the problem will not be discovered until the user uses the service, and it is often difficult for technicians to grasp it immediately This will seriously affect user access and service quality, and if it is a particularly critical service, it may cause huge economic losses.
目前主要的监控技术,是网管员职守在监控机旁,利用ping或者基于SNMP协议的网管软件,实时监控远程服务器通断状态和服务端口存活状态,发现问题后即通过远程登录或赶赴现场检查处理。还有一部分网站提供了监控功能,一般都提供WEB网站实时监控、FTP服务器实时监控、DNS服务器实时监控,但他们都使用免费邮件提醒。其存在的问题有:1.技术人员不可能随时随地收邮件,也就不能及时发现和处理问题,2.技术人员也不可能24小时携带电脑或一直守候在机房,也就不能第一时间处理问题。3.不能利用手机远程处理服务器故障。 At present, the main monitoring technology is that the network administrator is on duty next to the monitoring machine, and uses ping or SNMP-based network management software to monitor the on-off status of the remote server and the survival status of the service port in real time. After finding a problem, log in remotely or go to the site to check and deal with it . There are also some websites that provide monitoring functions, generally providing real-time monitoring of WEB websites, FTP servers, and DNS servers, but they all use free email reminders. The existing problems are as follows: 1. It is impossible for technicians to receive emails anytime and anywhere, so they cannot find and deal with problems in time. 2. It is impossible for technicians to carry computers 24 hours a day or wait in the computer room all the time, so they cannot deal with them immediately question. 3. The mobile phone cannot be used to remotely handle server failures.
手机目前已经成为生活的必需品,短信使用更加频繁,因此完全可以采用手机实时监控计算机的运行状况。目前也有使用手机监控计算机的相关技术,利用第三方短信平台实现对计算机的远程监控系统,需要在计算机端安装有实时监控软件,只能监控一台计算机,监控的是计算机的进程。其存在以下问题:1.无法监控服务器中各种应用服务的端口,2.如果服务器数量较多的话部署繁琐,效率低,3.无法利用手机远程处理故障。 Mobile phones have become a necessity of life at present, and text messages are used more frequently, so it is completely possible to use mobile phones to monitor the operating status of computers in real time. At present, there are also related technologies of using mobile phones to monitor computers. Using a third-party SMS platform to realize a remote monitoring system for computers requires real-time monitoring software to be installed on the computer side, which can only monitor one computer, and monitor the progress of the computer. It has the following problems: 1. It is impossible to monitor the ports of various application services in the server. 2. If the number of servers is large, the deployment is cumbersome and inefficient. 3. It is impossible to use mobile phones to remotely handle faults.
实用新型内容 Utility model content
本实用新型的目的是提出一种基于手机短信的服务器远程监控及故障处理的装置,以解决现有技术存在的无法监控服务器中各种应用服务的端口及无法利用手机远程处理故障的问题。 The purpose of this utility model is to propose a device for remote monitoring and fault handling of servers based on mobile phone short messages, so as to solve the problems in the prior art that the ports of various application services in the server cannot be monitored and the faults cannot be remotely processed by mobile phones.
一种基于手机短信的服务器远程监控及故障处理的装置,包括局域网、短信猫、移动网络、手机,所述局域网由被监控服务器和监控服务器组成,所述短信猫连接到监控服务器上,所述短信猫通过移动网络与手机终端相连;监控服务器用于将异常情况经过短信猫和移动网络发送到手机终端和接收并执行操作指令;手机终端用于接收报警短信和发送短信经移动网络和短信猫到监控服务器。 A device for remote monitoring and troubleshooting of servers based on mobile phone short messages, including a local area network, a short message modem, a mobile network, and a mobile phone. The local area network is composed of a monitored server and a monitoring server, and the short message modem is connected to the monitoring server. The SMS modem is connected to the mobile terminal through the mobile network; the monitoring server is used to send the abnormal situation to the mobile terminal through the SMS modem and the mobile network and receive and execute the operation instructions; the mobile terminal is used to receive the alarm SMS and send the SMS via the mobile network and the SMS modem to the monitoring server.
通过实时采集服务器状态数据,包括服务器网络在线状态和网速,WEB服务状态,FTP状态,数据库服务状态,远程桌面服务状态,DNS服务状态等等所有可以通过端口监控的应用服务,通过短信模块、短信平台和移动网络实现向指定手机发送报警短信。 Through real-time collection of server status data, including server network online status and network speed, WEB service status, FTP status, database service status, remote desktop service status, DNS service status, etc., all application services that can be monitored through the port, through the SMS module, The short message platform and mobile network can send alarm short messages to designated mobile phones.
短信猫,是一种工业级GSM MODEM,通过串口与计算机连接,可以通过AT指令控制进行短信收发的设备;短信平台采用北京诺亚迅达科技有限公司的平台,是一套短信管理系统,可以进行二次开发;移动网络是指GSM、GPRS、EDGE或CDMA无线数据通讯网络的任意一种;手机终端是能收发短信的普通手机,无需安装任何软件。 SMS Modem is an industrial-grade GSM MODEM, which is connected to a computer through a serial port and can be used to control SMS sending and receiving equipment through AT commands; the SMS platform adopts the platform of Beijing Noah Schindler Technology Co., Ltd., which is a SMS management system that can Carry out secondary development; the mobile network refers to any one of GSM, GPRS, EDGE or CDMA wireless data communication network; the mobile terminal is an ordinary mobile phone that can send and receive short messages without installing any software.
本实用新型通过实时采集服务器及各种服务的状态,监控服务器是否断网和监控网速是通过PHP内置函数exec执行Ping命令来采集网络数据;各种应用服务的状态通过SOCKET协议用PHP内置函数fsockopen来模拟 HTTP 连接;采集到异常状态时,自动将报警短信经短信平台和短信猫,利用移动网络发送到指定手机上。技术人员编写相关指令以手机短信方式发送到监控服务器的短信平台上,监控程序读取短信平台上的操作指令并执行指令,从而完成局域网被监控服务器重启、关闭,状态查询等操作。报警的内容包括IP地址、服务名称、时间、方式等。 The utility model collects the status of the server and various services in real time, monitors whether the server is disconnected from the network and monitors the network speed by executing the Ping command through the PHP built-in function exec to collect network data; the status of various application services uses the PHP built-in function through the SOCKET protocol fsockopen to simulate the HTTP connection; when the abnormal state is collected, the alarm message will be automatically sent to the designated mobile phone through the SMS platform and SMS modem through the mobile network. Technicians write relevant instructions and send them to the SMS platform of the monitoring server by SMS. The monitoring program reads the operating instructions on the SMS platform and executes the instructions, thereby completing operations such as restarting and shutting down the monitored server of the LAN, and status inquiry. The content of the alarm includes IP address, service name, time, method and so on.
本实用新型与现有技术的主要区别在于:1.监控的对象和内容不同。现有技术利用手机短信报警的网络视频监控装置所监控的网络视频,视频中出现报警然后发短信给管理人员,其不能处理故障,不能查询状态。而本实用新型是监控的服务器,服务器中的应用出现故障后发短信报警。 The main differences between the utility model and the prior art are: 1. The objects and contents of monitoring are different. The prior art utilizes the network video monitored by the network video monitoring device of the cell phone short message alarm, and the alarm occurs in the video and then the text message is sent to the management personnel, which cannot handle the fault and cannot inquire about the status. And the utility model is the server of monitoring, after the application in the server breaks down, send short message to report to the police.
本实用新型不用携带电脑,用手机就能24小时实时监测多台服务器和向多部手机发放报警信息,随时随地监控服务器的状态并直接用手机短信处理故障,保障关键业务的正常稳定运行,避免因为服务器发生故障而无法及时解决而产生巨大的经济损失,进一步提高解决服务器故障的应急反应速度,将由服务器故障带来的损失降到最低。本装置无客户端,只需一个服务端就可以监控局域网内的多台服务器,具有价格低廉、实用性强、使用方便等特点。 The utility model does not need to carry a computer, and the mobile phone can monitor multiple servers in real time for 24 hours and send alarm information to multiple mobile phones, monitor the status of the server anytime and anywhere, and directly use the mobile phone short message to deal with the fault, so as to ensure the normal and stable operation of the key business and avoid Because the server fails and cannot be solved in time, it will cause huge economic losses, further improve the emergency response speed to solve the server failure, and minimize the loss caused by the server failure. This device has no client, and only needs one server to monitor multiple servers in the local area network. It has the characteristics of low price, strong practicability, and convenient use.
下面结合附图对本实用新型做进一步详细的说明。 Below in conjunction with accompanying drawing, the utility model is described in further detail. the
附图说明 Description of drawings
图1 为基于手机短信的服务器远程监控及故障处理的装置的结构示意图。 Figure 1 is a schematic structural diagram of a device for remote monitoring and troubleshooting of servers based on mobile phone text messages.
具体实施方式 Detailed ways
下面的实施例可以进一步说明本实用新型,但不以如何方式限制本实用新型。 The following examples can further illustrate the utility model, but do not limit the utility model in any way.
如图1所示,服务器1、服务器2到服务器N是被监控服务器,运行Apache,IIS,Sql server,bind,serv-U等各种软件系统,监控服务器3安装有监控程序,若干台被监控服务器和一台监控服务器组成局域网2。监控服务器和被监控服务器上安装的操作系统不限。监控程序实时采集服务器及各种服务的状态,接收手机短信发过来的指令;短信猫4连接到监控服务器3,是一种工业级GSM MODEM,通过串口与计算机连接,可以通过AT指令控制进行短信收发的设备;短信平台安装在监控服务器3上,采用北京诺亚迅达科技有限公司的平台,是一套短信管理系统,可以进行二次开发;移动网络5是指GSM、GPRS、EDGE或CDMA无线数据通讯网络的任意一种或组合;手机终端6是能收发短信的普通手机,无需安装任何专门软件。
As shown in Figure 1, server 1, server 2 to server N are monitored servers, running Apache, IIS, Sql server, bind, serv-U and other software systems, monitoring server 3 is installed with monitoring programs, and several are monitored The server and a monitoring server form a local area network 2 . The operating system installed on the monitoring server and the monitored server is not limited. The monitoring program collects the status of the server and various services in real time, and receives the instructions sent by the mobile phone text message; the SMS modem 4 is connected to the monitoring server 3, which is an industrial-grade GSM MODEM, which is connected to the computer through the serial port and can be controlled by AT commands to send text messages. Sending and receiving equipment; the short message platform is installed on the monitoring server 3, using the platform of Beijing Noah Schindler Technology Co., Ltd., which is a set of short message management system, which can carry out secondary development; the mobile network 5 refers to GSM, GPRS, EDGE or CDMA Any one or combination of wireless data communication networks; the
本装置的控制过程如下: The control process of this device is as follows:
A、在监控程序中设置手机号码、检测间隔时间、发送短信间隔时间,报警提示语等参数; A. In the monitoring program, set parameters such as mobile phone number, detection interval time, sending short message interval time, and alarm prompts;
B、监控程序扫描采集被监控服务器的应用服务端口数据,如果监测到异常数据,自动记录异常信息并立即通过短信平台、短信猫、移动网络发送报警短信到指定手机上; B. The monitoring program scans and collects the application service port data of the monitored server. If abnormal data is detected, it will automatically record the abnormal information and immediately send an alarm message to the designated mobile phone through the SMS platform, SMS modem, and mobile network;
C、指定手机收到报警短信,通过短信平台、短信猫、移动网络回复操作指令短信; C. The designated mobile phone receives the alarm message, and replies to the operation command message through the message platform, message modem, and mobile network;
D、监控服务器中的监控程序接收短信并根据短信内容执行相应的故障处理指令,执行完指令后,监控程序通过短信平台、短信猫、移动网络发送指令执行结果到指定手机;(重启,关闭)查询和故障处理分开,只有当查询到异常情况才处理故障。 D. The monitoring program in the monitoring server receives the text message and executes the corresponding fault handling instruction according to the content of the text message. After executing the instruction, the monitoring program sends the instruction execution result to the designated mobile phone through the SMS platform, SMS modem, and mobile network; (restart, close) Query and fault handling are separated, and the fault is only processed when an abnormal situation is found in the query.
E、如果没有监测到异常数据,则监控程序自动查询上次异常信息,如果上次相同异常信息存在,则通过短信平台、短信猫、移动网络发送系统恢复短信到指定手机;如果上次相同异常信息不存在,则继续扫描采集数据; E. If no abnormal data is detected, the monitoring program will automatically query the last abnormal information. If the same abnormal information exists last time, the system will send the system recovery SMS to the designated mobile phone through the SMS platform, SMS modem, and mobile network; if the same abnormal information last time If the information does not exist, continue to scan and collect data;
F、指定手机通过短信平台、短信猫、移动网络发送查询指令短信到监控服务器,监控程序接收短信并根据短信内容执行相应查询指令,并将查询结果的短信通过短信平台、短信猫、移动网络发送到指定手机。 F. The designated mobile phone sends query instruction text messages to the monitoring server through the SMS platform, SMS modem, and mobile network. The monitoring program receives the text message and executes the corresponding query command according to the content of the text message, and sends the text message of the query result through the SMS platform, SMS modem, and mobile network. to the specified mobile phone.
技术人员操控的服务器指令有三种: There are three types of server commands controlled by technicians:
重启服务器:指令的格式为:服务器IP+服务器用户名+服务器密码+标识号+reboot,监控服务器接收到指令后调用程序立即执行指令重启服务器; Restart the server: the format of the command is: server IP+server user name+server password+identification number+reboot, after the monitoring server receives the command, call the program to immediately execute the command to restart the server;
关闭服务器:指令的格式为:服务器IP+服务器用户名+服务器密码+标识号+shutdown,监控服务器接收到指令后调用程序立即执行指令关闭服务器; Shut down the server: the format of the command is: server IP + server user name + server password + identification number + shutdown, after the monitoring server receives the command, it will call the program to immediately execute the command to shut down the server;
查询服务器状态:指令的格式为:服务器IP+端口号,监控服务器接收到指令后调用程序立即执行指令查询服务器状态,并将查询结果发送到指定手机上。 Query server status: The format of the command is: server IP+port number. After the monitoring server receives the command, it will call the program to immediately execute the command to query the server status, and send the query result to the designated mobile phone.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220293670 CN202652241U (en) | 2012-06-21 | 2012-06-21 | Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220293670 CN202652241U (en) | 2012-06-21 | 2012-06-21 | Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202652241U true CN202652241U (en) | 2013-01-02 |
Family
ID=47421266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220293670 Expired - Fee Related CN202652241U (en) | 2012-06-21 | 2012-06-21 | Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202652241U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694871A (en) * | 2012-06-21 | 2012-09-26 | 甘肃省科学技术情报研究所 | Device and method for remote monitoring and fault handling of server based on mobile phone short message |
CN104935479A (en) * | 2015-06-19 | 2015-09-23 | 郑州悉知信息技术有限公司 | Method and system for monitoring service module |
-
2012
- 2012-06-21 CN CN 201220293670 patent/CN202652241U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694871A (en) * | 2012-06-21 | 2012-09-26 | 甘肃省科学技术情报研究所 | Device and method for remote monitoring and fault handling of server based on mobile phone short message |
CN104935479A (en) * | 2015-06-19 | 2015-09-23 | 郑州悉知信息技术有限公司 | Method and system for monitoring service module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102694871A (en) | Device and method for remote monitoring and fault handling of server based on mobile phone short message | |
CN104052634B (en) | Information spy system and method | |
CN103295155B (en) | Security core service system method for supervising | |
CN107124315B (en) | Multi-server monitoring system and monitoring method based on SNMP and IPMI protocol | |
CN105323113B (en) | A kind of system failure emergence treating method based on visualization technique | |
CN101227329B (en) | System, apparatus and method for managing network device | |
CN109240126B (en) | A distributed application service monitoring system and method with simulation operation function | |
CN104022904A (en) | Unified management platform for IT devices in distributed computer rooms | |
CN104615112A (en) | Resource and environment monitoring and warning system under network environment | |
CN102523140A (en) | Real-time monitoring device for operation and maintenance of electric power customer service system | |
CN103490917B (en) | The detection method of troubleshooting situation and device | |
CN102739802A (en) | Service application-oriented IT contralized operation and maintenance analyzing system | |
CN102411599A (en) | Processing method of abnormal behavior in data warehouse and monitoring server | |
CN104219091A (en) | System and method for network operation fault detection | |
CN105450472A (en) | Method and device for automatically acquiring states of physical components of servers | |
CN103716173A (en) | Storage monitoring system and monitoring alarm issuing method | |
CN111488258A (en) | A system for software and hardware running state analysis and early warning | |
CN107360045A (en) | The monitoring method and device of a kind of storage cluster system | |
CN105743695B (en) | Monitoring method and system based on IEC104 protocol | |
CN110677293B (en) | Alarm system based on machine room operation and maintenance management platform | |
CN107943670A (en) | A kind of ups power equipment monitoring system | |
CN113760634B (en) | A data processing method and device | |
CN103178994A (en) | Method for automatically detecting a plurality of servers | |
CN110048881A (en) | Information monitoring system, information monitoring method and device | |
CN202652241U (en) | Device for Remote Monitoring and Troubleshooting of Server Based on Mobile Phone SMS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130102 Termination date: 20160621 |