[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107632918A - Calculate the monitoring system and method for storage device - Google Patents

Calculate the monitoring system and method for storage device Download PDF

Info

Publication number
CN107632918A
CN107632918A CN201710763344.1A CN201710763344A CN107632918A CN 107632918 A CN107632918 A CN 107632918A CN 201710763344 A CN201710763344 A CN 201710763344A CN 107632918 A CN107632918 A CN 107632918A
Authority
CN
China
Prior art keywords
storage device
monitored
warning message
alarmed
file
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.)
Granted
Application number
CN201710763344.1A
Other languages
Chinese (zh)
Other versions
CN107632918B (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.)
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201710763344.1A priority Critical patent/CN107632918B/en
Publication of CN107632918A publication Critical patent/CN107632918A/en
Application granted granted Critical
Publication of CN107632918B publication Critical patent/CN107632918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Alarm Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiments of the invention provide a kind of monitoring method and system for calculating storage device, wherein, this method includes:The warning message of the existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time, and the equipment identification information for the calculating storage device to be monitored alarmed and the relevant information that reports an error are analyzed according to warning message;According to equipment identification information and the relevant information that reports an error, the script file corresponding with the warning message, generation daily record crawl file are selected in default script file;The log collection mode according to corresponding to being chosen the calculating storage device to be monitored that daily record crawl file triggering is alarmed, the calculating storage device to be monitored alarmed using parameter triggering performs the script file selected, to capture the log daily records for the calculating storage device to be monitored alarmed.The program advantageously reduces cost of human resources and reduces the learning pressure of professional, while improves fault location efficiency.

Description

Calculate the monitoring system and method for storage device
Technical field
The present invention relates to the monitoring processing technology field of the non-network information technoloy equipment such as server, disc unit and tape pool, especially relate to A kind of and monitoring system and method for calculating storage device.
Background technology
For maintenance work, existing monitoring system is examined for a large amount of using the large-scale data center of multi-brand equipment Consider deficiency.In addition bank data centers are not also directed to different brands inhomogeneity on the market at present for the rigors of safety The automation hardware monitoring and log collection instrument of other equipment.Meanwhile along with the increasingly huge of data center's scale, it is traditional Based on first seeing that the passive equipment O&M mode efficiencies that failure is investigated after warning information are low, it is impossible to timely fast positioning therefore Barrier, it is stable to influence production;The pattern causes person works' amount very to the demand of man power and material into the growth of geometry level simultaneously Greatly.Such as:There are independent daily record bag and generating mode in each manufacturer, receives server alarm message every time and is required for running into computer room On-site collection server and disc unit warning message are removed, has both wasted time and energy and has had an effect on security, and needs to have certain special skill The horizontal personnel of art can just complete.
The content of the invention
The embodiments of the invention provide a kind of monitoring method for calculating storage device, to solve equipment O&M in the prior art Mode efficiencies are low, can not fast positioning failure and the technical problem to waste time and energy in time.This method includes:Gather in real time each The warning message of the existing monitoring system generation of calculating storage device to be monitored itself, sets out according to warning message analysis The equipment identification information of the calculating storage device to be monitored of raw alarm and the relevant information that reports an error;According to the equipment identification information With the relevant information that reports an error, the script file corresponding with the warning message is selected in default script file, is generated Daily record captures file, and script file, log collection mode and the triggering selection that the daily record crawl file includes selecting go out Script file needed for parameter;Selected according to the calculating storage device to be monitored that daily record crawl file triggering is alarmed Log collection mode corresponding to taking, the calculating storage device to be monitored alarmed using parameter triggering perform the choosing The script file selected out, to capture the log daily records for the calculating storage device to be monitored alarmed.
The embodiment of the present invention additionally provides a kind of computer equipment, including memory, processor and storage are on a memory And the computer program that can be run on a processor, any of the above-described kind of institute is realized described in the computing device during computer program The monitoring method for the calculating storage device stated.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage There is the computer program for the monitoring method for performing the calculating storage device described in any of the above-described kind.
The embodiment of the present invention additionally provides a kind of monitoring system for calculating storage device, is transported with solving equipment in the prior art Dimensional pattern efficiency is low, can not fast positioning failure and the technical problem to waste time and energy in time.The system includes:Data acquisition fills Put, comparing device and daily record generating means, wherein, the data acquisition facility is set with each calculating storage to be monitored Itself standby existing monitoring system connection, the data acquisition facility are used to gather each calculating storage device to be monitored in real time The warning message of itself existing monitoring system generation, the calculating to be monitored alarmed is analyzed according to the warning message The equipment identification information of storage device and the relevant information that reports an error;The comparing device, for being believed according to the device identification Breath and the relevant information that reports an error, the script file corresponding with the warning message is selected in default script file, it is raw File is captured into daily record, the daily record crawl file includes script file, log collection mode and the triggering selection selected The parameter needed for script file gone out;The daily record generating means, alarmed for capturing file triggering according to the daily record Calculating storage device to be monitored choose corresponding to log collection mode, alarmed using parameter triggering to be monitored Calculating storage device perform described in the script file selected, to capture the calculating storage device to be monitored alarmed Log daily records.
In embodiments of the present invention, it is by gathering the existing monitoring of each calculating storage device to be monitored itself in real time The warning message of system generation, realizes the warning message that can gather all kinds of calculating storage devices in Centralized Monitoring, and pass through report Alert information analysis goes out the equipment identification information for the calculating storage device to be monitored alarmed and the relevant information that reports an error, Jin Ergen The script file corresponding with warning message, generation daily record crawl text are selected according to equipment identification information and the relevant information that reports an error Part, finally, the log daily records for the calculating storage device to be monitored that file crawl is alarmed are captured according to daily record.So that counting , it is necessary to run into the warning message that computer room removes on-site collection server and disc unit etc. when calculation storage device is alarmed, the application It can go to capture the log daily records for giving birth to the calculating storage device to be monitored alarmed, line fortune automatically according to the warning message of collection Dimension personnel can be according to the log daily record fast reactions of output, with the alert process scheme that this determination is final.Use the prison of the application Prosecutor method, artificial participation can be substantially reduced, improve hardware O&M standardization level, advantageously reduce cost of human resources and drop The learning pressure of low professional, be advantageous to improve fault location efficiency.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, not Form limitation of the invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of monitoring system for calculating storage device provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of data acquisition facility provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of comparing device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of daily record generating means provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of data filtering device provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of monitoring method for calculating storage device provided in an embodiment of the present invention.
Embodiment
It is right with reference to embodiment and accompanying drawing for the object, technical solutions and advantages of the present invention are more clearly understood The present invention is described in further details.Here, the exemplary embodiment of the present invention and its illustrate to be used to explain the present invention, but simultaneously It is not as a limitation of the invention.
In embodiments of the present invention, there is provided a kind of monitoring system for calculating storage device, as shown in figure 1, the system bag Include:Data acquisition facility 001, comparing device 002, daily record generating means 003 and data filtering device 004.Wherein, it is described Data acquisition facility 001 is connected with each itself existing monitoring system of calculating storage device to be monitored, the data acquisition Device is used for the warning message for gathering the existing monitoring system generation of each calculating storage device to be monitored itself in real time, according to The warning message analyzes the equipment identification information for the calculating storage device to be monitored alarmed and the relevant information that reports an error;
The comparing device 002, for according to the equipment identification information and the relevant information that reports an error, presetting The script file corresponding with the warning message, generation daily record crawl file, the daily record crawl are selected in script file File includes the script file selected, the parameter needed for the script file that log collection mode and triggering selection go out;
The daily record generating means 003, by according to the daily record capture file triggering alarm it is to be monitored based on Log collection mode corresponding to storage device selection is calculated, the calculating storage to be monitored alarmed using parameter triggering is set The script file selected described in standby execution, to capture the log daily records for the calculating storage device to be monitored alarmed
Understand as shown in Figure 1, in embodiments of the present invention, by gathering each calculating storage device to be monitored in real time certainly The warning message of the existing monitoring system generation of body, realizes the alarm that can gather all kinds of calculating storage devices in Centralized Monitoring Information, and the equipment identification information for the calculating storage device to be monitored alarmed and the phase that reports an error are analyzed by warning message Information is closed, and then the script file corresponding with warning message is selected according to equipment identification information and the relevant information that reports an error, it is raw File is captured into daily record, finally, the log days for the calculating storage device to be monitored that file crawl is alarmed are captured according to daily record Will.So that when calculating storage device and alarming, it is necessary to run into the alarm that computer room removes on-site collection server and disc unit etc. Information, the application can go to capture the log of the calculating storage device to be monitored of raw alarm automatically according to the warning message of collection Daily record, a line operation maintenance personnel can be according to the log daily record fast reactions of output, with the alert process scheme that this determination is final.Make With the monitoring method of the application, artificial participation can be substantially reduced, hardware O&M standardization level is improved, advantageously reduces manpower Resources costs and the learning pressure for reducing professional, be advantageous to improve fault location efficiency.
When it is implemented, above-mentioned log daily records refer to the record of hardware running status, such as, IBM high-end servers IQYY。
When it is implemented, above-mentioned calculating storage device to be monitored can be that server, disc unit and tape pool etc. are non-network Information technoloy equipment, as shown in figure 1, above-mentioned calculating storage device to be monitored such as can be IBM high-end servers, IBM low and middle-ends clothes Business device, HP X86 servers, DELL X86 servers, Huawei's X86 servers, tide X86 servers, Huawei's disc unit, HDS magnetic Disk machine etc..These destination servers and disc unit will be disposed with interior agent monitoring functions in advance according to existing monitor mode, or Configuration enables corresponding monitoring function on equipment control machine and out of band supervision module, and these monitoring functions are above-mentioned each to be monitored The existing monitoring system of calculating storage device itself.
When it is implemented, in order to realize data acquisition, in the present embodiment, as shown in Fig. 2 above-mentioned data acquisition facility 001, including:
Real-time monitoring module 102, connect for monitoring system existing with each calculating storage device 101 to be monitored itself Connect, gather the warning message of the existing monitoring system generation of each calculating storage device to be monitored itself in real time;
Centralized procurement module 103 is monitored, for the warning message to be parsed into the display data of unified form, and according to alarm Distinguishing mark is added in the source of information on every warning message, and it is corresponding with the warning message that the distinguishing mark is used for differentiation The type for the calculating storage device to be monitored alarmed, analyzed according to the warning message alarm it is to be monitored The equipment identification information of storage device and the relevant information that reports an error are calculated, wherein, the equipment identification information includes what is alarmed The device type and IP address of calculating storage device to be monitored, the relevant information that reports an error include the code that reports an error alarmed With the description information that reports an error;
Keyword collection module 104, for storing the equipment identification information analyzed and the relevant information that reports an error.
When it is implemented, above-mentioned real-time monitoring module 102 can realize that multiple servers are supervised respectively by multiple servers Control one calculating storage device of different servers or disc unit.For example, by taking Huawei's tide server as an example, existing line traffic control system System is isolated using the form of out of band supervision with business IP;By taking HP and DELL X86 as an example, existing line control system is in target Agent is installed to obtain monitoring information in the operating system of machine;Using IBM high-end servers and Huawei, Hitachi disc unit as Example, existing line control system is then to have special equipment control CONSOLE machines to be managed and monitor target machine.For reality The warning message of each calculating storage device is gathered when real, above-mentioned real-time monitoring module 102 is set with each calculating storage respectively Itself standby existing monitoring system connection, makes full use of each calculating existing monitoring system of storage device itself to obtain alarm Information.
When above-mentioned real-time monitoring module 102 is realized by multiple servers, in order to ensure later extending transversely of server Ability, we go to design according to load-sharing mode in advance to multiple servers, and multiple servers can calculate storage to one Equipment carries out warning message collection, so can not only tackle and calculate the performance capability pressure that storage device quantity rapid growth is brought Power, the collection stand-by period is reduced, is also avoided that service disruption caused by single irredundant machine.
When it is implemented, the rambling alarm signal that above-mentioned monitoring centralized procurement module 103 gathers real-time monitoring module 102 Breath is parsed into the display data of unitized standardization.Meanwhile according to the difference in monitoring information source (such as by monitoring in real time The different monitoring server of module 102) adding distinguishing mark on each warning message, (distinguishing mark can be real-time monitoring mould The ip of corresponding monitoring server in block 102), with this come distinguish be what kind of monitored equipment warning message.Monitoring The specific behave of centralized procurement module 103 can be described as:Screened according to relevant field, crawl hair is analyzed according to warning message Equipment identification information and relevant information (the equipment mark that reports an error needed for the log daily records of the calculating storage device to be monitored of raw alarm IP, device type can be included by knowing information, and the relevant information that reports an error can include report an error code, the description information that reports an error etc.);And to adopting The warning message of collection does first coarse filtering, and mainly for most basic information and impurity, the information filtered out is that manufacturer provides Clearly be no big problem warning message.It is (i.e. above-mentioned to wait to supervise for the machine that has specifically, the analysis for ip information The calculating storage device of control) it is the ip for needing Direct Analysis service server, some is then according to business ip combination configuration managements System determines the ip (such as HMC) of corresponding management console machines., can be according to the difference of warning message for device type Mark to determine.Analysis for the code that reports an error can then combine the machine type that reports an error and carry out parsing positioning;To codeless report Wrong description information will then filter out the description field of key.
When it is implemented, as shown in figure 3, comparing device 002 described above, including:
Data comparing module 201, it is connected with the keyword collection module 104, for the device identification analyzed to be believed Cease and report an error relevant information and the alarm history comparing that prestores, judge whether every warning message belongs to need report to be processed Alert condition, wherein, the alarm history data to prestore are the warning message for being not belonging to need alarm condition to be processed;
As a result feedback module 202, for when warning message is not belonging to need alarm condition to be processed, directly exporting and showing Show the warning message, to prompt user that the warning message need not be handled;
Scheme policies formulate module 203, for warning message belong to need alarm condition to be processed when, according to the alarm Equipment identification information corresponding to information and the relevant information that reports an error, selected in default script file corresponding with the warning message Script file, generation daily record crawl file;
Strategy parameter transport module 205, daily record crawl file is sent to the calculating to be monitored alarmed and deposited Store up equipment.
When it is implemented, above-mentioned data comparing module 201 by the equipment identification information analyzed and report an error relevant information with The alarm history comparing to prestore, alarm condition to be processed is needed to judge whether every warning message belongs to.Specifically, should The alarm history data to prestore can realize that the alarm history database can be regular by the form of alarm history database Renewal, it updates is judged as the information such as negligible alarm from newly-increased machine type and newly-increased.
When it is implemented, result feedback module 202 is when warning message is judged as being not belonging to needing alarm condition to be processed, Directly export and show the warning message, can to prompt user (for example, the monitoring operator on duty) warning message to handle To ignore.
When it is implemented, scheme policies formulate module 203 when warning message belongs to need alarm condition to be processed, according to It is which kind equipment from which brand that equipment identification information, which positions this alarm signal, then according in the relevant information that reports an error The information such as error code, the description information that reports an error determine to take which kind of log collection side's mode (for example, the identification for the code that reports an error then may be used To be according to priori, that is, which kind of daily record we need to collect beforehand through what the code that reports an error of manufacturer was clearly known, Log collection side's mode be generally out of band supervision collection BMC daily records or with it is interior monitoring by operating system collection correlation log or Person triggers log collection instrument to realize log collection function according to equipment control console machines).It is corresponding according to the warning message Equipment identification information and report an error relevant information, the script text corresponding with the warning message is selected in default script file Part, for example, setting parameter preset to be provided previously by a variety of different versions according to the difference of existing machine type and log collection mode This script file, equipment identification information and the relevant information that reports an error are compared with parameter preset, in default script file Select the script file corresponding with the warning message.For example, default script file can be included towards the high-end HMC of IBM The script file of Linux system, towards Huawei disk machine controller windows script file and towards Huawei's server band Script file of outer monitoring etc..
When it is implemented, when scheme policies formulate module 203 and generate above-mentioned daily record crawl file, in daily record crawl file In addition to the parameter needed for the script file that the script file including selecting, log collection mode and triggering selection go out, The login mode that can also include logging in the calculating storage device to be monitored that hair is alarmed is (for example, the user for login Name and password).
When it is implemented, strategy parameter transport module 205 is probably to grab the daily record that scheme policies formulation module 203 generates File is taken to feed back on the server for the business of being currently running, in order to ensure not influence business, in the present embodiment, above-mentioned data ratio To device 002, in addition to:File security detection module 204, for sending the day in the strategy parameter transport module 205 Before will crawl file, safety detection is carried out to daily record crawl file, i.e., a peace is done to daily record crawl file feedback bag Full detecting, prevents the invasion and attack to business machine such as code or virus document of malice.
When it is implemented, as shown in figure 4, above-mentioned daily record generating means 003, including:
Triggering mode selecting module 301, it is connected with the strategy parameter transport module, for capturing text according to the daily record Log collection mode corresponding to the calculating storage device selection to be monitored that part triggering is alarmed;
Execution module 302 is triggered, is treated for what is alarmed using the parameter triggering in daily record crawl file The script file selected described in the calculating storage device execution of monitoring, sets to capture the calculating storage to be monitored alarmed Standby log daily records;
Log collection determination module 303, by detect the file bag that whether there is corresponding date to generate under preset path and The size of file bag, to judge whether successful collection log daily records;
Logged result feedback module 304, for storing the log daily records collected, and forward log daily records.
When it is implemented, above-mentioned triggering mode selecting module 301 is waited to supervise according to what daily record crawl file triggering was alarmed Control calculating storage device selection corresponding to log collection mode, for example, judge be by out of band supervision gather BMC daily records or By collecting correlation log by operating system with interior monitoring log collection instrument is triggered according further to equipment control console machines To realize log collection function.
When it is implemented, whether above-mentioned log collection determination module 303, have the corresponding date to give birth to by detecting under preset path Into file bag and file bag size, to judge whether successful collection log daily records, for example, by detecting simple search Whether file bag that this date generate is had under introductory path, and the size of file bag tentatively judges whether successful collection Log daily records.If not collecting success, return to triggering mode selecting module 301 and triggering execution module 302 re-recognizes simultaneously Perform script collection acts.If daily record bag successful collection, daily record bag is fed back to logged result feedback module 304 and deposited Storage.
When it is implemented, logged result feedback module 304 by the log daily records of collection by related protocol (such as FTP assist View) alarm monitoring platform is delivered to all the way for scene use on duty;Or production Intranet transfer machine is delivered to all the way and supplies outgoing two Line engineer uses.
When it is implemented, the data center for disposing important information, it is contemplated that the security of data message and uncertain Property, in the present embodiment, as shown in Figure 1 and Figure 5, the monitoring system of above-mentioned calculating storage device, in addition to data filtering device 004, the data filtering device 004, including:
Log security detection module 401, for whether containing business information in detecting the log daily records of crawl;
Processing module 402 is audited in daily record, the integrality of the log daily records for confirming crawl, and corresponding according to warning message Alarm condition, for crawl log daily records selection forwarding object;
Daily record outgoing module 403, the interface for not containing business information and complete log daily records is downloaded for providing.
Grabbed when it is implemented, whether the mainly intelligent screening of Log security detection module 401 has business information to be blended into In the log daily record bags taken, more to be screened in particular for the daily record collected with interior monitoring.Processing module 402 is audited in daily record Can be then that the integrality of daily record bag is further confirmed by way of manually participating in and is selected according to actual conditions different Target forwards object.Daily record outgoing module 403 provides the interface downloaded and do not contain business information and complete log daily records, will The log daily records of crawl are given to log analysis engineer by FTP or smtp protocol.
The course of work of the monitoring system of above-mentioned calculating storage device is the following specifically describes, for example, above-mentioned meter to be monitored Storage device is calculated by taking IBM high-end servers as an example:
(1) data acquisition facility 001 passes through sentence " select*from REPORTER_STATUS where CUSTOMERSEVERITY<=6AND ComponentType='Hardware' " obtain hardware classes announcement from ITDW databases Alert information.
(2) comparing device 002, by presetting module, such as:
{ " Hitachi stores failure ":{ configuration information 1 }, " IBM P hardware faults ":{"SRC!=E* ":{ configuration information 2 } } }
Warning information of the matching containing " IBM P hardware failures " field and SRC are not Exxxxxxx event, are carried out Subsequent module is called;
Configuration information 2:{ip:Nodeip, " user name ":" hscroot ", " password ":" * * * * * * * ", " login mode ":" Ssh ", " port ":22,"cmd":"ibmpseriesh",”path”:”/var/log/hsc/iqyy.zip”}
(3) " configuration information 2 ", that is, the associated script fortune of daily record generating means 003 is pointed in context data comparison device 002 OK, the information such as related ip addresses are recorded and.Daily record generating means 003 are made up of a series of scripts, while called data compares dress The information of 02 record is set to 0, generation is actually needed execution script.
Ibmpseriesh contents are exemplified below:
mysu-;
cd/var/log/hsc;
zip-r iqyy.zip./*;
After the iqyy.zip generations for confirming current date, " configuration information 2 " gives data filtering device 004 for push;
(4) data filtering device 004, the path information of the configuration information 2 of push is continued according to daily record generating means 003, The journal file of distal end is extracted into local, filed, and directory information is put in storage;
mkdir nodeip+date;
ftp
open ip
" user name "
" password "
bin
Lcd local directories nodeip+date
get/var/log/hsc/iqyy.zip
bye
(5) operating personnel can be by way of ftp or http agreements, access log server, extract daily record data.
Based on same inventive concept, a kind of monitoring method for calculating storage device is additionally provided in the embodiment of the present invention, such as Described in the following examples.Monitoring method due to calculating storage device solves monitoring of the principle of problem with calculating storage device System is similar, therefore the implementation for calculating the monitoring method of storage device may refer to calculate the reality of the monitoring system of storage device Apply, repeat part and repeat no more.
Fig. 6 is the flow chart of the monitoring method of the calculating storage device of the embodiment of the present invention, as shown in fig. 6, this method bag Include:
Step 601:The alarm of the existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time Information, the equipment identification information for the calculating storage device to be monitored alarmed is analyzed according to the warning message and is reported an error Relevant information;
Step 602:According to the equipment identification information and the relevant information that reports an error, selected in default script file The script file corresponding with the warning message, generation daily record crawl file, the daily record crawl file include what is selected The parameter needed for script file that script file, log collection mode and triggering selection go out;
Step 603:The calculating storage device selection pair to be monitored alarmed according to daily record crawl file triggering The log collection mode answered, triggered using the parameter and selected described in the calculating storage device execution to be monitored alarmed Script file, to capture the log daily records for the calculating storage device to be monitored alarmed.
In one embodiment, the existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time Warning message, the equipment identification information of the calculating storage device to be monitored alarmed is analyzed according to the warning message With the relevant information that reports an error, including:The existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time Warning message;The warning message is parsed into the display data of unified form, and reported according to the source of warning message at every Add distinguishing mark in alert information, the distinguishing mark be used to distinguishing it is corresponding with the warning message alarm it is to be monitored Calculate the type of storage device, the equipment that the calculating storage device to be monitored alarmed is analyzed according to the warning message Identification information and the relevant information that reports an error, wherein, the calculating storage to be monitored that the equipment identification information includes alarming is set Standby device type and IP address, what the relevant information that reports an error included alarming report an error code and reports an error description information;Deposit Store up the equipment identification information analyzed and the relevant information that reports an error.
In one embodiment, according to the equipment identification information and the relevant information that reports an error, in default script file In select the script file corresponding with the warning message, generation daily record crawl file, including:The equipment mark that will be analyzed Knowledge information and report an error relevant information and the alarm history comparing to prestore, judging whether every warning message belongs to needs to handle Alarm condition, wherein, the alarm history data that prestore are the warning message for being not belonging to need alarm condition to be processed; When warning message is not belonging to need alarm condition to be processed, directly exports and show the warning message, to prompt user's alarm Information need not be handled;When warning message belongs to need alarm condition to be processed, according to equipment mark corresponding to the warning message Know information and the relevant information that reports an error, select the script file corresponding with the warning message in default script file, generate Daily record captures file;Daily record crawl file is sent to the calculating storage device to be monitored alarmed.
In one embodiment, in addition to:Before the daily record crawl file is sent, daily record crawl file is entered Row safety detection.
In one embodiment, the calculating storage device to be monitored alarmed according to daily record crawl file triggering Log collection mode corresponding to selection, triggered using the parameter described in the calculating storage device execution to be monitored alarmed The script file selected, to capture the log daily records for the calculating storage device to be monitored alarmed, including:According to described Log collection mode corresponding to the calculating storage device selection to be monitored that daily record crawl file triggering is alarmed;Using described The pin selected described in the calculating storage device execution to be monitored that parameter triggering in daily record crawl file is alarmed This document, to capture the log daily records for the calculating storage device to be monitored alarmed;Whether have under preset path by detecting The file bag of corresponding date generation and the size of file bag, to judge whether successful collection log daily records;What storage was collected Log daily records, and forward log daily records.
In one embodiment, in addition to:Detect in the log daily records of crawl and whether contain business information;Confirm crawl The integrality of log daily records, and the alarm condition according to corresponding to warning message, for the log daily records selection forwarding object of crawl;There is provided Interface does not contain business information and complete log daily records to download.
A kind of computer equipment is additionally provided in the present embodiment, including memory, processor and storage are on a memory And the computer program that can be run on a processor, any of the above-described kind of institute is realized described in the computing device during computer program The monitoring method for the calculating storage device stated.
A kind of computer-readable recording medium, the computer-readable recording medium storage are additionally provided in the present embodiment There is the computer program for the monitoring method for performing the calculating storage device described in any of the above-described kind.
In embodiments of the present invention, it is by gathering the existing monitoring of each calculating storage device to be monitored itself in real time The warning message of system generation, realizes the warning message that can gather all kinds of calculating storage devices in Centralized Monitoring, and pass through report Alert information analysis goes out the equipment identification information for the calculating storage device to be monitored alarmed and the relevant information that reports an error, Jin Ergen The script file corresponding with warning message, generation daily record crawl text are selected according to equipment identification information and the relevant information that reports an error Part, finally, the log daily records for the calculating storage device to be monitored that file crawl is alarmed are captured according to daily record.So that counting , it is necessary to run into the warning message that computer room removes on-site collection server and disc unit etc. when calculation storage device is alarmed, the application It can go to capture the log daily records for giving birth to the calculating storage device to be monitored alarmed, line fortune automatically according to the warning message of collection Dimension personnel can be according to the log daily record fast reactions of output, with the alert process scheme that this determination is final.Use the prison of the application Prosecutor method, artificial participation can be substantially reduced, improve hardware O&M standardization level, advantageously reduce cost of human resources and drop The learning pressure of low professional, be advantageous to improve fault location efficiency.
Obviously, those skilled in the art should be understood that each module of the above-mentioned embodiment of the present invention or each step can be with Realized with general computing device, they can be concentrated on single computing device, or are distributed in multiple computing devices On the network formed, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by it Store and performed in the storage device by computing device, and in some cases, can be to be held different from order herein They, are either fabricated to each integrated circuit modules or will be multiple in them by the shown or described step of row respectively Module or step are fabricated to single integrated circuit module to realize.So, the embodiment of the present invention is not restricted to any specific hard Part and software combine.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the embodiment of the present invention can have various modifications and variations.Within the spirit and principles of the invention, made Any modification, equivalent substitution and improvements etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. monitoring method for calculating storage device, it is characterised in that including:
    The warning message of the existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time, according to described Warning message analyzes the equipment identification information for the calculating storage device to be monitored alarmed and the relevant information that reports an error;
    According to the equipment identification information and the relevant information that reports an error, selected and the alarm signal in default script file Script file corresponding to manner of breathing, generation daily record crawl file, the daily record crawl file include script file, the daily record selected The parameter needed for script file that collection mode and triggering selection go out;
    The log collection according to corresponding to being chosen the calculating storage device to be monitored that daily record crawl file triggering is alarmed Mode, the script file selected described in the calculating storage device execution to be monitored alarmed is triggered using the parameter, To capture the log daily records for the calculating storage device to be monitored alarmed.
  2. 2. the monitoring method of storage device is calculated as claimed in claim 1, it is characterised in that gather in real time each to be monitored The warning message of the existing monitoring system generation of storage device itself is calculated, analyzes what is alarmed according to the warning message The equipment identification information of calculating storage device to be monitored and the relevant information that reports an error, including:
    The warning message of the existing monitoring system generation of each calculating storage device to be monitored itself is gathered in real time;
    The warning message is parsed into the display data of unified form, and according to the source of warning message in every warning message Upper addition distinguishing mark, the distinguishing mark are used for the differentiation calculating to be monitored alarmed corresponding with the warning message and deposited The type of equipment is stored up, the device identification letter for the calculating storage device to be monitored alarmed is analyzed according to the warning message Cease and the relevant information that reports an error, wherein, the calculating storage device to be monitored that the equipment identification information includes alarming is set Standby type and IP address, what the relevant information that reports an error included alarming report an error code and the description information that reports an error;
    Store the equipment identification information analyzed and the relevant information that reports an error.
  3. 3. the monitoring method of storage device is calculated as claimed in claim 2, it is characterised in that according to the equipment identification information With the relevant information that reports an error, the script file corresponding with the warning message is selected in default script file, is generated Daily record captures file, including:
    By the equipment identification information analyzed and report an error relevant information and the alarm history comparing to prestore, every alarm is judged Whether information, which belongs to, needs alarm condition to be processed, wherein, the alarm history data to prestore are to be processed to be not belonging to need The warning message of alarm condition;
    When warning message is not belonging to need alarm condition to be processed, directly exports and show the warning message, to prompt user The warning message need not be handled;
    When warning message belongs to need alarm condition to be processed, according to equipment identification information corresponding to the warning message and report an error Relevant information, the script file corresponding with the warning message, generation daily record crawl file are selected in default script file;
    Daily record crawl file is sent to the calculating storage device to be monitored alarmed.
  4. 4. the monitoring method of storage device is calculated as claimed in claim 3, it is characterised in that also include:
    Before the daily record crawl file is sent, safety detection is carried out to daily record crawl file.
  5. 5. the monitoring method of storage device is calculated as claimed in claim 3, it is characterised in that file is captured according to the daily record Log collection mode corresponding to triggering the calculating storage device selection to be monitored alarmed, is triggered using the parameter and occurred The script file selected described in the calculating storage device execution to be monitored of alarm, to capture the meter to be monitored alarmed The log daily records of storage device are calculated, including:
    Log collection corresponding to the calculating storage device selection to be monitored alarmed according to daily record crawl file triggering Mode;
    The calculating storage device to be monitored that the parameter triggering in file is alarmed is captured using the daily record and performs institute The script file selected is stated, to capture the log daily records for the calculating storage device to be monitored alarmed;
    By detecting the size of the file bag for whether thering is the corresponding date to generate under preset path and file bag, to judge whether into Work(have collected log daily records;
    The log daily records collected are stored, and forward log daily records.
  6. 6. the monitoring method of the calculating storage device as any one of claim 1 to 5, it is characterised in that also include:
    Detect in the log daily records of crawl and whether contain business information;
    Confirm the integrality of the log daily records of crawl, and the alarm condition according to corresponding to warning message, selected for the log daily records of crawl Select forwarding object;
    Interface is provided and does not contain business information and complete log daily records to download.
  7. 7. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized described in the computing device during computer program described in any one of claim 1 to 6 Calculating storage device monitoring method.
  8. 8. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has perform claim It is required that the computer program of the monitoring method of calculating storage device described in 1 to 6 any one.
  9. A kind of 9. monitoring system for calculating storage device, it is characterised in that including:Data acquisition facility, comparing device with And daily record generating means, wherein,
    The data acquisition facility is connected with each itself existing monitoring system of calculating storage device to be monitored, the data Acquisition device is used for the warning message for gathering the existing monitoring system generation of each calculating storage device to be monitored itself in real time, The equipment identification information that the calculating storage device to be monitored alarmed is analyzed according to the warning message is related to reporting an error Information;
    The comparing device, for according to the equipment identification information and the relevant information that reports an error, in default script text The script file corresponding with the warning message, generation daily record crawl file are selected in part, the daily record captures file bag Include the script file selected, the parameter needed for the script file that log collection mode and triggering selection go out;
    The daily record generating means, the calculating storage to be monitored for being alarmed according to daily record crawl file triggering are set Alternative to take corresponding log collection mode, the calculating storage device to be monitored alarmed using parameter triggering performs institute The script file selected is stated, to capture the log daily records for the calculating storage device to be monitored alarmed.
  10. 10. the monitoring system of storage device is calculated as claimed in claim 9, it is characterised in that also including data filtering device, The data filtering device, including:
    Log security detection module, for whether containing business information in detecting the log daily records of crawl;
    Processing module is audited in daily record, the integrality of the log daily records for confirming crawl, and feelings of being alarmed according to corresponding to warning message Condition, for the log daily records selection forwarding object of crawl;
    Daily record outgoing module, the interface for not containing business information and complete log daily records is downloaded for providing.
CN201710763344.1A 2017-08-30 2017-08-30 Monitoring system and method for computing storage equipment Active CN107632918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710763344.1A CN107632918B (en) 2017-08-30 2017-08-30 Monitoring system and method for computing storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710763344.1A CN107632918B (en) 2017-08-30 2017-08-30 Monitoring system and method for computing storage equipment

Publications (2)

Publication Number Publication Date
CN107632918A true CN107632918A (en) 2018-01-26
CN107632918B CN107632918B (en) 2020-09-11

Family

ID=61100829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710763344.1A Active CN107632918B (en) 2017-08-30 2017-08-30 Monitoring system and method for computing storage equipment

Country Status (1)

Country Link
CN (1) CN107632918B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897665A (en) * 2018-06-29 2018-11-27 平安科技(深圳)有限公司 Blog management method, device, computer equipment and storage medium
CN110377569A (en) * 2019-06-19 2019-10-25 中国平安人寿保险股份有限公司 Log monitoring method, device, computer equipment and storage medium
WO2019223062A1 (en) * 2018-05-22 2019-11-28 平安科技(深圳)有限公司 Method and system for processing system exceptions
CN110601879A (en) * 2019-08-30 2019-12-20 深圳壹账通智能科技有限公司 Method and device for forming Zabbix alarm process information and storage medium
CN110908885A (en) * 2019-11-21 2020-03-24 苏州浪潮智能科技有限公司 Log collection method and device and related components
CN110990214A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Method, system and equipment for capturing memory card logs through BMC
CN111258813A (en) * 2020-01-13 2020-06-09 北京点众科技股份有限公司 Method and equipment for automatically recovering report data
CN111597095A (en) * 2020-05-20 2020-08-28 中国工商银行股份有限公司 Monitoring method, monitoring device, electronic apparatus, and medium
CN111756778A (en) * 2019-03-26 2020-10-09 京东数字科技控股有限公司 Server disk cleaning script pushing method and device and storage medium
CN112905410A (en) * 2021-01-19 2021-06-04 中国人民解放军32039部队 Equipment state monitoring system and method
CN113448795A (en) * 2020-03-26 2021-09-28 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for obtaining system diagnostic information
CN113872793A (en) * 2021-08-11 2021-12-31 深兰科技(上海)有限公司 Method, device, medium and equipment for remotely capturing log
US20220244960A1 (en) * 2021-01-29 2022-08-04 Seagate Technology Llc Embedded computation instruction performance profiling

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488115A (en) * 2001-01-26 2004-04-07 布莱迪卡姆公司 System for providing services and virtual programming interface
CN102158462A (en) * 2010-02-11 2011-08-17 希姆通信息技术(上海)有限公司 Method for repairing remote diagnosis by using 2nd Generation (2G) or 3rd Generation (3G) module
CN105227351A (en) * 2015-09-01 2016-01-06 上海斐讯数据通信技术有限公司 Log acquisition system, journal obtaining method and electronic equipment
CN105791417A (en) * 2016-04-13 2016-07-20 北京思特奇信息技术股份有限公司 Intelligent disposition and process monitoring system and method based on cloud management platform
CN106095682A (en) * 2016-06-15 2016-11-09 浪潮软件集团有限公司 Android application stability test method for simulating complex network
US20170161169A1 (en) * 2015-06-11 2017-06-08 International Business Machines Corporation Automatically complete a specific software task using hidden tags
JP2017117063A (en) * 2015-12-22 2017-06-29 日本電気株式会社 Radio base station maintenance device, radio base station maintenance system, radio base station maintenance method, and radio base station maintenance program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1488115A (en) * 2001-01-26 2004-04-07 布莱迪卡姆公司 System for providing services and virtual programming interface
CN102158462A (en) * 2010-02-11 2011-08-17 希姆通信息技术(上海)有限公司 Method for repairing remote diagnosis by using 2nd Generation (2G) or 3rd Generation (3G) module
US20170161169A1 (en) * 2015-06-11 2017-06-08 International Business Machines Corporation Automatically complete a specific software task using hidden tags
CN105227351A (en) * 2015-09-01 2016-01-06 上海斐讯数据通信技术有限公司 Log acquisition system, journal obtaining method and electronic equipment
JP2017117063A (en) * 2015-12-22 2017-06-29 日本電気株式会社 Radio base station maintenance device, radio base station maintenance system, radio base station maintenance method, and radio base station maintenance program
CN105791417A (en) * 2016-04-13 2016-07-20 北京思特奇信息技术股份有限公司 Intelligent disposition and process monitoring system and method based on cloud management platform
CN106095682A (en) * 2016-06-15 2016-11-09 浪潮软件集团有限公司 Android application stability test method for simulating complex network

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019223062A1 (en) * 2018-05-22 2019-11-28 平安科技(深圳)有限公司 Method and system for processing system exceptions
CN108897665A (en) * 2018-06-29 2018-11-27 平安科技(深圳)有限公司 Blog management method, device, computer equipment and storage medium
CN108897665B (en) * 2018-06-29 2021-06-15 平安科技(深圳)有限公司 Log management method and device, computer equipment and storage medium
CN111756778A (en) * 2019-03-26 2020-10-09 京东数字科技控股有限公司 Server disk cleaning script pushing method and device and storage medium
CN110377569A (en) * 2019-06-19 2019-10-25 中国平安人寿保险股份有限公司 Log monitoring method, device, computer equipment and storage medium
CN110377569B (en) * 2019-06-19 2023-07-28 中国平安人寿保险股份有限公司 Log monitoring method, device, computer equipment and storage medium
CN110601879A (en) * 2019-08-30 2019-12-20 深圳壹账通智能科技有限公司 Method and device for forming Zabbix alarm process information and storage medium
CN110990214A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Method, system and equipment for capturing memory card logs through BMC
CN110990214B (en) * 2019-10-31 2022-12-06 苏州浪潮智能科技有限公司 Method, system and equipment for capturing memory card logs through BMC
CN110908885B (en) * 2019-11-21 2022-08-05 苏州浪潮智能科技有限公司 Log collection method and device and related components
CN110908885A (en) * 2019-11-21 2020-03-24 苏州浪潮智能科技有限公司 Log collection method and device and related components
CN111258813A (en) * 2020-01-13 2020-06-09 北京点众科技股份有限公司 Method and equipment for automatically recovering report data
CN113448795A (en) * 2020-03-26 2021-09-28 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for obtaining system diagnostic information
CN113448795B (en) * 2020-03-26 2024-06-28 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for obtaining system diagnostic information
CN111597095A (en) * 2020-05-20 2020-08-28 中国工商银行股份有限公司 Monitoring method, monitoring device, electronic apparatus, and medium
CN112905410B (en) * 2021-01-19 2021-11-30 中国人民解放军32039部队 Equipment state monitoring system and method
CN112905410A (en) * 2021-01-19 2021-06-04 中国人民解放军32039部队 Equipment state monitoring system and method
US20220244960A1 (en) * 2021-01-29 2022-08-04 Seagate Technology Llc Embedded computation instruction performance profiling
US11442733B2 (en) * 2021-01-29 2022-09-13 Seagate Technology Llc Embedded computation instruction performance profiling
US11782717B2 (en) 2021-01-29 2023-10-10 Seagate Technology Llc Embedded computation instruction performance profiling
CN113872793A (en) * 2021-08-11 2021-12-31 深兰科技(上海)有限公司 Method, device, medium and equipment for remotely capturing log

Also Published As

Publication number Publication date
CN107632918B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN107632918A (en) Calculate the monitoring system and method for storage device
CN114584401B (en) Tracing system and method for large-scale network attack
CN103001811B (en) Fault locating method and device
CN104506393B (en) A kind of system monitoring method based on cloud platform
CN104144071B (en) The processing platform of the processing method and system daily record of system journal
CN108848067A (en) The OPC protocol security means of defence of intelligence learning and preset read-only white list rule
CN104852927A (en) Safety comprehensive management system based on multi-source heterogeneous information
CN107995049A (en) The transregional synchronous fault monitoring method of the power ampere whole district, device and system
CN102238023B (en) Method and device for generating warning data of network management system
CN106371986A (en) Log treatment operation and maintenance monitoring system
CN107295010A (en) A kind of enterprise network security management cloud service platform system and its implementation
CN110175451A (en) A kind of method for safety monitoring and system based on electric power cloud
CN105515180A (en) Intelligent substation communication network dynamic monitoring system and monitoring method thereof
CN104219091A (en) System and method for network operation fault detection
CN109413642B (en) Terminal safety detection and monitoring systematization method
CN103810076B (en) The monitoring method and device of data duplication
CN110209518A (en) A kind of multi-data source daily record data, which is concentrated, collects storage method and device
CN107547228B (en) Implementation architecture of safe operation and maintenance management platform based on big data
CN113676723B (en) Non-homologous network video monitoring fault positioning method and device based on Internet of things
CN116257021A (en) Intelligent network security situation monitoring and early warning platform for industrial control system
EP2936772A1 (en) Network security management
CN111212035A (en) Host computer defect confirming and automatic repairing method and system based on same
CN111371570B (en) A fault detection method and device for an NFV network
US20230009270A1 (en) OPC UA-Based Anomaly Detection and Recovery System and Method
CN109347684A (en) A kind of network server monitoring system

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201229

Address after: 100140, 55, Fuxing Avenue, Xicheng District, Beijing

Patentee after: INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Patentee after: ICBC Technology Co.,Ltd.

Address before: 100140, 55, Fuxing Avenue, Xicheng District, Beijing

Patentee before: INDUSTRIAL AND COMMERCIAL BANK OF CHINA

TR01 Transfer of patent right