CN111309557A - Monitoring method, device, equipment and medium for multiple operating systems - Google Patents
Monitoring method, device, equipment and medium for multiple operating systems Download PDFInfo
- Publication number
- CN111309557A CN111309557A CN202010094754.3A CN202010094754A CN111309557A CN 111309557 A CN111309557 A CN 111309557A CN 202010094754 A CN202010094754 A CN 202010094754A CN 111309557 A CN111309557 A CN 111309557A
- Authority
- CN
- China
- Prior art keywords
- file
- monitoring
- redirection
- operating systems
- file system
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机领域,更具体地,特别是指一种多操作系统的监控方法、装置、设备和介质。The present invention relates to the field of computers, and more particularly, to a monitoring method, apparatus, device and medium for multiple operating systems.
背景技术Background technique
我们知道,随着企业的信息化建设不断发展,企业建立了大量的IT系统,这些IT系统在运营过程中每天产生大量的事件信息,企业需要通过这些事件信息来判断IT系统的运营情况。然而,由于事件信息分布在不同的系统中——例如操作系统、数据库、中间件、服务器、网络设备等具有自己的事件管理控制台用以分别存储各自的事件信息。并且,一个大中型的数据中心,每天的事件信息高达几千万条。“如何收集、分析、处理这些分散的、海量的事件信息”变得非常复杂。We know that with the continuous development of enterprise informatization construction, enterprises have established a large number of IT systems. These IT systems generate a large amount of event information every day during the operation process. Enterprises need to use these event information to judge the operation of the IT system. However, since the event information is distributed in different systems, such as operating systems, databases, middleware, servers, network devices, etc., have their own event management consoles to store their respective event information. Moreover, a large and medium-sized data center has tens of millions of event information every day. "How to collect, analyze, and process these scattered and massive event information" has become very complex.
在很多企业中,尽管可能已经部署了一定的监控工具。但是,由于这些监控工具都是针对某一个系统或者资源设计的,相互之间无法很好的集成,给系统管理人员提供的控制平台更是各种各样;更严重的是,由于相互之间无法集成,其监控的管理信息不能共享。导致误报警和报警重复等现象的发生;同时,由于这些工具都只是面向IT资源的监控、管理软件。即使发现问题,也不能将问题与真正的业务联系起来,也就不能判断此问题对业务的影响。无法判断解决问题时的优先级顺序,使影响关键业务的问题被耽搁,造成巨大的损失。In many enterprises, although some monitoring tools may already be deployed. However, since these monitoring tools are designed for a certain system or resource, they cannot be well integrated with each other, and the control platforms provided to system administrators are even more varied; more seriously, due to the mutual It cannot be integrated, and the management information it monitors cannot be shared. This leads to the occurrence of false alarms and repeated alarms; at the same time, these tools are only monitoring and management software for IT resources. Even if a problem is found, it cannot be linked to the real business and the impact of the problem on the business cannot be judged. Unable to determine the priority order for solving problems, problems affecting key business are delayed and cause huge losses.
为了从根本上解决以上问题,IT系统管理必须能够将企业IT管理和业务的运行关联起来;将所有不同的管理工具的控制平台进行统一和集成,实现信息共享。因此,为了将企业原有的各种管理控制平台进行统一和集成,实现IT管理和业务的运行相关联。设计实现具有统一、集成管理和良好开放性的综合性监控平台势在必行。In order to fundamentally solve the above problems, IT system management must be able to link enterprise IT management and business operations; unify and integrate the control platforms of all different management tools to achieve information sharing. Therefore, in order to unify and integrate the various management and control platforms of the enterprise, to realize the correlation between IT management and business operation. It is imperative to design and implement a comprehensive monitoring platform with unified, integrated management and good openness.
通过该综合监控平台可以对企业所有的系统和资源进行统一、集成的监控管理。支持、收集企业的所有信息并进行相关处理。此外,该平台还需要具有良好的开放性,可以整合企业原有的监控系统,使企业原有的监控系统能够将满足一定条件的监控信息送往该综合性监控平台进行统一处理。从而实现信息共享,管理企业分散的、不断增加的IT系统。它可以通过各种方式,灵活地向企业相关管理人员提供所需要的信息。这样,企业相关管理人员就能够知道任务是否按计划进行,当前的资源状态是否发生变化,或者性能超过了设置的阈值。Through this comprehensive monitoring platform, unified and integrated monitoring and management of all systems and resources of the enterprise can be carried out. Support, collect and process all information of the enterprise. In addition, the platform also needs to have good openness, which can integrate the original monitoring system of the enterprise, so that the original monitoring system of the enterprise can send the monitoring information that meets certain conditions to the comprehensive monitoring platform for unified processing. In order to achieve information sharing, manage the enterprise's scattered and increasing IT systems. It can flexibly provide the required information to the relevant management personnel of the enterprise in various ways. In this way, relevant enterprise managers can know whether the task is progressing as planned, whether the current resource status has changed, or whether the performance exceeds the set threshold.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例的目的在于提供一种多操作系统的监控方法、装置、设备和介质,可以实现对企业所有的系统和资源进行统一、集成的监控管理。In view of this, the purpose of the embodiments of the present invention is to provide a multi-operating system monitoring method, apparatus, device and medium, which can implement unified and integrated monitoring and management of all systems and resources of an enterprise.
基于上述目的,本发明一方面提供了一种多操作系统的监控方法,该方法包括:使被监控的操作系统远程挂载监控平台系统共享的第一文件系统;使操作系统将采集到的采集信息重定向至第一重定向文件,并将第一重定向文件存放至第一文件系统;将操作系统的日志文件重定向的第二重定向文件存放至第一文件系统;使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件。Based on the above purpose, one aspect of the present invention provides a monitoring method for multiple operating systems. The method includes: enabling the monitored operating system to remotely mount the first file system shared by the monitoring platform system; The information is redirected to the first redirection file, and the first redirection file is stored in the first file system; the second redirection file redirected by the log file of the operating system is stored in the first file system; Collect information to configure a system monitoring table, and regularly monitor the second redirection file of each operating system in the first file system according to the system monitoring table.
在本发明的多操作系统的监控方法的一些实施方式中,采集信息包括:被监控的操作系统的第二文件系统、内存、CPU使用率,以及主机名、IP、时间。In some embodiments of the monitoring method for multiple operating systems of the present invention, the collected information includes: the second file system, memory, and CPU usage of the monitored operating system, as well as host name, IP, and time.
在本发明的多操作系统的监控方法的一些实施方式中,使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件还包括:将第一文件系统中的第二重定向文件备份至备份文件系统;响应于每次执行监控,对第二重定向文件与备份文件系统的日志文件做增量对比监控。In some embodiments of the monitoring method for multiple operating systems of the present invention, the monitoring platform system is configured to configure a system monitoring table according to the collected information, and regularly monitor the second redirection of each operating system in the first file system according to the system monitoring table The file also includes: backing up the second redirection file in the first file system to the backup file system; and performing incremental comparative monitoring on the log file of the second redirection file and the backup file system in response to each execution of monitoring.
在本发明的多操作系统的监控方法的一些实施方式中,该方法还包括:响应于没有增量,判断为出现异常;响应于有增量,对所有日志文件的增量进行告警关键字段匹配,响应于关键字匹配成功,发出告警信息。In some embodiments of the multi-operating system monitoring method of the present invention, the method further includes: in response to no increment, judging that an abnormality occurs; in response to an increment, performing an alarm key field on the increment of all log files match, in response to the successful keyword matching, an alarm message is issued.
在本发明的多操作系统的监控方法的一些实施方式中,该方法还包括:响应于日志文件的增量对比监控完成,将第一文件系统中的日志文件拷贝至备份文件系统。In some embodiments of the monitoring method for multiple operating systems of the present invention, the method further includes: in response to completion of the incremental comparison monitoring of the log files, copying the log files in the first file system to the backup file system.
本发明实施例的另一方面,还提供了一种基于FPGA的图计算数据预处理装置,该装置包括:连接模块,连接模块配置为使被监控的操作系统远程挂载监控平台系统共享的第一文件系统;采集信息模块,采集信息模块配置为使操作系统将采集到的采集信息重定向至第一重定向文件,并将第一重定向文件存放至第一文件系统;日志模块,日志模块配置为将操作系统的日志文件重定向的第二重定向文件存放至第一文件系统;监控模块,监控模块配置为使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件。Another aspect of the embodiments of the present invention further provides an FPGA-based graph computing data preprocessing device, the device includes: a connection module, where the connection module is configured to enable the monitored operating system to remotely mount the first data shared by the monitoring platform system a file system; an information collection module, the collection information module is configured to make the operating system redirect the collected collection information to a first redirection file, and store the first redirection file in the first file system; a log module, a log module The second redirection file configured to redirect the log file of the operating system is stored in the first file system; the monitoring module, the monitoring module is configured to enable the monitoring platform system to configure the system monitoring table according to the collected information, and regularly monitor the first file system according to the system monitoring table. A second redirect file for each operating system in the file system.
在本发明的多操作系统的监控装置的一些实施方式中,监控模块还配置为:将第一文件系统中的第二重定向文件备份至备份文件系统;响应于每次执行监控,对第二重定向文件与备份文件系统的日志文件做增量对比监控。In some embodiments of the monitoring device for multiple operating systems of the present invention, the monitoring module is further configured to: back up the second redirected file in the first file system to the backup file system; The redirection file and the log file of the backup file system are monitored incrementally.
在本发明的多操作系统的监控装置的一些实施方式中,该监控模块还配置为:响应于没有增量,判断为出现异常;响应于有增量,对所有日志文件的增量进行告警关键字段匹配,响应于关键字匹配成功,发出告警信息。In some embodiments of the multi-operating system monitoring device of the present invention, the monitoring module is further configured to: in response to no increment, determine that an abnormality has occurred; in response to an increment, perform an alarm key on the increment of all log files The field matches, and in response to the successful keyword matching, an alarm message is issued.
本发明实施例的另一方面,还提供了一种计算机设备,该计算机设备包括:至少一个处理器;以及存储器,存储器存储有可在处理器上运行的计算机程序,处理器执行程序时执行前述的多操作系统的监控方法。In another aspect of the embodiments of the present invention, there is also provided a computer device, the computer device includes: at least one processor; and a memory, where the memory stores a computer program that can be executed on the processor, and the processor executes the aforementioned program when executing the program monitoring method for multiple operating systems.
本发明实施例的再一方面,还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,其特征在于,计算机程序被处理器执行时执行前述的多操作系统的监控方法。In yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, wherein the computer program is executed by a processor to execute the foregoing monitoring method for multiple operating systems .
本发明至少具有以下有益技术效果:通过该综合的监控平台可以对企业所有的系统和资源进行统一、集成的监控管理。支持、收集企业的所有信息并进行相关处理。此外,该平台还需要具有良好的开放性,可以整合企业原有的监控系统,使企业原有的监控系统能够将满足一定条件的监控信息送往该综合性监控平台进行统一处理。从而实现信息共享,管理企业分散的、不断增加的IT系统。它可以通过各种方式,灵活地向企业相关管理人员提供所需要的信息。这样,企业相关管理人员就能够知道任务是否按计划进行,当前的资源状态是否发生变化,或者性能超过了设置的阈值。The invention has at least the following beneficial technical effects: through the comprehensive monitoring platform, unified and integrated monitoring and management of all systems and resources of the enterprise can be performed. Support, collect and process all information of the enterprise. In addition, the platform also needs to have good openness, which can integrate the original monitoring system of the enterprise, so that the original monitoring system of the enterprise can send the monitoring information that meets certain conditions to the comprehensive monitoring platform for unified processing. In order to achieve information sharing, manage the enterprise's scattered and increasing IT systems. It can flexibly provide the required information to the relevant management personnel of the enterprise in various ways. In this way, relevant enterprise managers can know whether the task is progressing as planned, whether the current resource status has changed, or whether the performance exceeds the set threshold.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can also be obtained according to these drawings without creative efforts.
图1示出了根据本发明的多操作系统的监控方法的实施例的示意性框图。FIG. 1 shows a schematic block diagram of an embodiment of a monitoring method for multiple operating systems according to the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明实施例进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”和“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" " is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, and subsequent embodiments will not describe them one by one.
基于上述目的,本发明实施例的第一个方面,提出了一种多操作系统的监控方法的实施例。图1示出的是根据本发明的多操作系统的监控方法的实施例的示意图。如图1所示的实施例中,该方法至少包括如下步骤:Based on the above objective, in the first aspect of the embodiments of the present invention, an embodiment of a monitoring method for multiple operating systems is proposed. FIG. 1 shows a schematic diagram of an embodiment of a monitoring method for multiple operating systems according to the present invention. In the embodiment shown in Figure 1, the method at least includes the following steps:
S100、使被监控的操作系统远程挂载监控平台系统共享的第一文件系统;S100, enabling the monitored operating system to remotely mount the first file system shared by the monitoring platform system;
S200、使操作系统将采集到的采集信息重定向至第一重定向文件,并将第一重定向文件存放至第一文件系统;S200, make the operating system redirect the collected collection information to the first redirection file, and store the first redirection file in the first file system;
S300、将操作系统的日志文件重定向的第二重定向文件存放至第一文件系统;S300, the second redirection file redirected by the log file of the operating system is stored in the first file system;
S400、使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件。S400. The monitoring platform system configures a system monitoring table according to the collected information, and regularly monitors the second redirection file of each operating system in the first file system according to the system monitoring table.
在本发明的一些实施例中,监控平台系统(linux)安装配置sabma服务,将文件系统共享至其他被监控的操作系统,如windows、linux、aix、hpux等。被监控端的操作系统无须安装agent软件,挂载监控平台系统共享的第一文件系统;部署程序采集操作系统的第二文件系统、内存、CPU使用率重定向到第一系统文件,并将该文件存放至刚挂载的第一文件系统,监控平台系统根据共享第一文件系统上的文件进行监控,当关键字段的监控到达告警阀值时,邮件发出告警对应信息。其中,被监控端操作系统部署程序定时(每分钟)采集操作系统的采集信息,将第一重定向文件存放在挂载文件系统,被监控端的操作系统日志相对应的第二重定向文件存放至共享第一文件系统,监控端配置系统监控表,根据该系统监控表按时间、循环执行,完成所有系统的监控。其中,添加多个被监控操作系统,可以实现多系统监控。In some embodiments of the present invention, the monitoring platform system (linux) installs and configures the sabma service, and shares the file system to other monitored operating systems, such as windows, linux, aix, hpux, and the like. The operating system of the monitored end does not need to install the agent software, and mounts the first file system shared by the monitoring platform system; the deployment program collects the second file system, memory, and CPU usage of the operating system and redirects it to the first system file, and redirects the file to the first system file. It is stored in the first file system that has just been mounted, and the monitoring platform system performs monitoring according to the files on the shared first file system. When the monitoring of key fields reaches the alarm threshold, the email sends out alarm corresponding information. Among them, the operating system deployment program of the monitored terminal collects the collection information of the operating system regularly (every minute), stores the first redirection file in the mounted file system, and stores the second redirection file corresponding to the operating system log of the monitored terminal in the The first file system is shared, the monitoring terminal is configured with a system monitoring table, and the system monitoring table is executed according to time and cycle to complete the monitoring of all systems. Among them, adding multiple monitored operating systems can realize multi-system monitoring.
根据本发明的多操作系统的监控方法的一些实施方式,采集信息包括:被监控的操作系统的第二文件系统、内存、CPU使用率,以及主机名、IP、时间。According to some embodiments of the monitoring method for multiple operating systems of the present invention, the collected information includes: the second file system, memory, and CPU usage of the monitored operating system, as well as host name, IP, and time.
在本发明的一些实施例中,被监控端操作系统部署程序定时(每分钟)采集操作系统的文件系统、内存、CPU使用率,并将其采集信息分别重定向至第一重定向文件hostname_filesysteminfo、hostname_memoryinfo、hostname_cpuinfo,文件按照主机名+监控信息命名;信息同时包含主机名、IP、时间等。In some embodiments of the present invention, the operating system deployment program of the monitored terminal periodically (every minute) collects the file system, memory, and CPU usage of the operating system, and redirects the collected information to the first redirection files hostname_filesysteminfo, hostname_memoryinfo, hostname_cpuinfo, the files are named according to the hostname + monitoring information; the information also includes the hostname, IP, time, etc.
根据本发明的多操作系统的监控方法的一些实施方式,使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件还包括:将第一文件系统中的第二重定向文件备份至备份文件系统;响应于每次执行监控,对第二重定向文件与备份文件系统的日志文件做增量对比监控。According to some embodiments of the monitoring method for multiple operating systems of the present invention, the monitoring platform system configures the system monitoring table according to the collected information, and regularly monitors the second redirection file of each operating system in the first file system according to the system monitoring table The method also includes: backing up the second redirection file in the first file system to the backup file system; and performing incremental comparative monitoring on the log file of the second redirection file and the backup file system in response to each execution of monitoring.
在本发明的一些实施例中,被监控端的操作系统日志文件的第二重定向文件至共享文件系统下的hostname_systemlog,监控端根据配置的系统监控表中的主机名对共享文件系统中的众多日志文件进行定时(每两分钟)监控,首先根据系统监控表中的主机信息将共享文件系统中的日志文件备份至bak文件系统,之后每次执行监控时,先采用diff命令对第一共享文件系统中的hostname_filesysteminfo与bak文件(备份文件)系统的文件做增量对比。In some embodiments of the present invention, the second redirection file of the operating system log file of the monitored terminal is to the hostname_systemlog under the shared file system, and the monitoring terminal records many logs in the shared file system according to the hostname in the configured system monitoring table. The files are monitored regularly (every two minutes). First, the log files in the shared file system are backed up to the bak file system according to the host information in the system monitoring table. After each monitoring is performed, the first shared file system The hostname_filesysteminfo in the file is incrementally compared with the files of the bak file (backup file) system.
根据本发明的多操作系统的监控方法的一些实施方式,该方法还包括:响应于没有增量,判断为出现异常;响应于有增量,对所有日志文件的增量进行告警关键字段匹配,响应于关键字匹配成功,发出告警信息。According to some embodiments of the monitoring method for multiple operating systems of the present invention, the method further includes: in response to no increment, determining that an abnormality occurs; in response to having an increment, performing alarm key field matching on increments of all log files , in response to the successful keyword matching, an alarm message is issued.
在本发明的一些实施例中,如果没有增量则表示该主机异常;如果有增量,则对所有日志文件的增量进行告警关键字段匹配,关键字匹配成功发出告警邮件,通知相关人员;In some embodiments of the present invention, if there is no increment, it means that the host is abnormal; if there is an increment, the alarm key field matching is performed on the increment of all log files, and if the keyword match is successful, an alarm email is sent to notify the relevant personnel ;
根据本发明的多操作系统的监控方法的一些实施方式,该方法还包括:响应于日志文件的增量对比监控完成,将第一文件系统中的日志文件拷贝至备份文件系统。According to some embodiments of the monitoring method for multiple operating systems of the present invention, the method further includes: in response to completion of the incremental comparison monitoring of the log files, copying the log files in the first file system to the backup file system.
在本发明的一些实施例中,增量日志文件监控完成之后将共享文件系统中的日志文件copy至bak文件系统。In some embodiments of the present invention, after the incremental log file monitoring is completed, the log files in the shared file system are copied to the bak file system.
本发明实施例的另一方面,提出了一种多操作系统的监控装置的实施例。该装置包括:Another aspect of the embodiments of the present invention provides an embodiment of a monitoring device with multiple operating systems. The device includes:
连接模块,连接模块配置为使被监控的操作系统远程挂载监控平台系统共享的第一文件系统;a connection module, the connection module is configured to enable the monitored operating system to remotely mount the first file system shared by the monitoring platform system;
采集信息模块,采集信息模块配置为使操作系统将采集到的采集信息重定向至第一重定向文件,并将第一重定向文件存放至第一文件系统;an information collection module, which is configured to enable the operating system to redirect the collected collection information to the first redirection file, and store the first redirection file in the first file system;
日志模块,日志模块配置为将操作系统的日志文件重定向的第二重定向文件存放至第一文件系统;a log module, where the log module is configured to store the second redirected file redirected by the log file of the operating system in the first file system;
监控模块,监控模块配置为使监控平台系统根据采集信息配置系统监控表,并根据系统监控表定时监控第一文件系统中的每个操作系统的第二重定向文件。The monitoring module is configured so that the monitoring platform system configures the system monitoring table according to the collected information, and regularly monitors the second redirection file of each operating system in the first file system according to the system monitoring table.
根据本发明的多操作系统的监控装置的一些实施方式,该监控模块还配置为:将第一文件系统中的第二重定向文件备份至备份文件系统;响应于每次执行监控,对第二重定向文件与备份文件系统的日志文件做增量对比监控。According to some embodiments of the monitoring device for multiple operating systems of the present invention, the monitoring module is further configured to: back up the second redirected file in the first file system to the backup file system; The redirection file and the log file of the backup file system are monitored incrementally.
根据本发明的多操作系统的监控装置的一些实施方式,该监控模块还配置为:响应于没有增量,判断为出现异常;响应于有增量,对所有日志文件的增量进行告警关键字段匹配,响应于关键字匹配成功,发出告警信息。According to some embodiments of the multi-operating system monitoring device of the present invention, the monitoring module is further configured to: in response to no increment, determine that an abnormality occurs; in response to an increment, perform an alarm keyword on the increment of all log files If the segment matches, in response to the successful keyword match, an alarm message is issued.
基于上述目的,本发明实施例的另一方面,还提出了一种计算机设备,该计算机设备包括:至少一个处理器;以及存储器,存储器存储有可在处理器上运行的计算机程序,处理器执行程序时执行前述的多操作系统的监控方法。Based on the above object, another aspect of the embodiments of the present invention further provides a computer device, the computer device includes: at least one processor; and a memory, where the memory stores a computer program that can be executed on the processor, and the processor executes the computer program. The aforementioned monitoring method for multiple operating systems is executed during the program.
本发明实施例的再一方面,还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,其特征在于,计算机程序被处理器执行时执行前述的多操作系统的监控方法。In yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, wherein the computer program is executed by a processor to execute the foregoing monitoring method for multiple operating systems .
同样地,本领域技术人员应当理解,以上针对根据本发明的多操作系统的监控方法阐述的所有实施方式、特征和优势同样地适用于根据本发明的装置、计算机设备和介质。为了本公开的简洁起见,在此不再重复阐述。Likewise, those skilled in the art should understand that all the embodiments, features and advantages set forth above for the monitoring method for multiple operating systems according to the present invention are equally applicable to the apparatus, computer equipment and medium according to the present invention. For the sake of brevity of the present disclosure, the description is not repeated here.
需要特别指出的是,上述多操作系统的监控方法、装置、设备和介质的各个实施例中的各个步骤均可以相互交叉、替换、增加、删减,因此,这些合理的排列组合变换之于多操作系统的监控方法、装置、设备和介质也应当属于本发明的保护范围,并且不应将本发明的保护范围局限在实施例之上。It should be specially pointed out that the steps in the various embodiments of the monitoring method, device, device and medium for multiple operating systems can be intersected, replaced, added, and deleted. Therefore, these reasonable permutations and combinations are more than The monitoring method, device, device and medium of the operating system should also belong to the protection scope of the present invention, and the protection scope of the present invention should not be limited to the embodiments.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关硬件来完成,多操作系统的监控方法的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,程序的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。上述计算机程序的实施例,可以达到与之对应的前述任意方法实施例相同或者相类似的效果。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the process in the method of the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program of the monitoring method for multiple operating systems can be stored in a computer In reading the storage medium, when the program is executed, it may include the flow of the embodiments of the above-mentioned methods. Wherein, the storage medium of the program may be a magnetic disk, an optical disk, a read only memory (ROM) or a random access memory (RAM) or the like. The above computer program embodiments can achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.
此外,根据本发明实施例公开的方法还可以被实现为由处理器执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被处理器执行时,执行本发明实施例公开的方法中限定的上述功能。In addition, the methods disclosed according to the embodiments of the present invention may also be implemented as a computer program executed by a processor, and the computer program may be stored in a computer-readable storage medium. When the computer program is executed by the processor, the above-mentioned functions defined in the methods disclosed in the embodiments of the present invention are executed.
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。In addition, the above-mentioned method steps and system units can also be implemented by using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the functions of the above-mentioned steps or units.
此外,应该明白的是,本文的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDRSDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)、以及直接Rambus RAM(DRRAM)。所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。In addition, it should be understood that computer-readable storage media (eg, memory) herein can be volatile memory or non-volatile memory, or can include both volatile and non-volatile memory. By way of example and not limitation, nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory memory. Volatile memory may include random access memory (RAM), which may act as external cache memory. By way of example and not limitation, RAM is available in various forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but not be limited to, these and other suitable types of memory.
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本发明实施例公开的范围。Those skilled in the art will also appreciate that the various exemplary logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends on the specific application and design constraints imposed on the overall system. Those skilled in the art may implement the functions in various ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP和/或任何其它这种配置。The various exemplary logical blocks, modules, and circuits described in connection with the disclosure herein can be implemented or executed using the following components designed to perform the functions herein: general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a DSP, and/or any other such configuration.
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。The steps of a method or algorithm described in connection with the disclosures herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. In an alternative, the storage medium may be integrated with the processor. The processor and storage medium may reside in an ASIC. The ASIC may reside in the user terminal. In an alternative, the processor and storage medium may reside in the user terminal as discrete components.
在一个或多个示例性设计中,功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外线、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。In one or more exemplary designs, functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer. By way of example and not limitation, the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, or may be used to carry or store instructions in the form of or data structures and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave are used to send software from a website, server, or other remote source, the above coaxial cable Cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are all included in the definition of medium. As used herein, magnetic disks and optical disks include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks, blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically with lasers . Combinations of the above should also be included within the scope of computer-readable media.
以上是本发明公开的示例性实施例,但是应当注意,在不背离权利要求限定的本发明实施例公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本发明实施例公开的元素可以以个体形式描述或要求,但除非明确限制为单数,也可以理解为多个。The above are exemplary embodiments of the present disclosure, but it should be noted that various changes and modifications may be made without departing from the scope of the disclosure of the embodiments of the present invention as defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements disclosed in the embodiments of the present invention may be described or claimed in the singular, unless explicitly limited to the singular, the plural may also be construed.
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。It should be understood that, as used herein, the singular form "a" is intended to include the plural form as well, unless the context clearly supports an exception. It will also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned embodiments of the present invention disclose the serial numbers of the embodiments only for description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a magnetic disk or an optical disk, and the like.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本发明实施例公开的范围(包括权利要求)被限于这些例子;在本发明实施例的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上的本发明实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope (including the claims) disclosed by the embodiments of the present invention is limited to these examples; under the idea of the embodiments of the present invention , the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention should be included within the protection scope of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010094754.3A CN111309557B (en) | 2020-02-16 | 2020-02-16 | Monitoring method, device, equipment and medium for multiple operating systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010094754.3A CN111309557B (en) | 2020-02-16 | 2020-02-16 | Monitoring method, device, equipment and medium for multiple operating systems |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111309557A true CN111309557A (en) | 2020-06-19 |
| CN111309557B CN111309557B (en) | 2022-06-03 |
Family
ID=71145029
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010094754.3A Active CN111309557B (en) | 2020-02-16 | 2020-02-16 | Monitoring method, device, equipment and medium for multiple operating systems |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111309557B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113407504A (en) * | 2021-06-15 | 2021-09-17 | 中科曙光国际信息产业有限公司 | Data processing method, user space file system and storage medium |
| CN114546960A (en) * | 2021-12-15 | 2022-05-27 | 中孚安全技术有限公司 | Visual monitored control system of file operation and terminating machine |
| CN114780353A (en) * | 2022-06-15 | 2022-07-22 | 统信软件技术有限公司 | File log monitoring method and system and computing device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109286677A (en) * | 2018-10-25 | 2019-01-29 | 北京北信源信息安全技术有限公司 | A kind of method and device of the file transmission based on FTP |
| CN110417575A (en) * | 2019-06-17 | 2019-11-05 | 平安科技(深圳)有限公司 | Alarm method, device and the computer equipment of O&M monitor supervision platform |
| CN110781157A (en) * | 2019-09-27 | 2020-02-11 | 苏州浪潮智能科技有限公司 | A NAS-based backup and recovery method and device |
-
2020
- 2020-02-16 CN CN202010094754.3A patent/CN111309557B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109286677A (en) * | 2018-10-25 | 2019-01-29 | 北京北信源信息安全技术有限公司 | A kind of method and device of the file transmission based on FTP |
| CN110417575A (en) * | 2019-06-17 | 2019-11-05 | 平安科技(深圳)有限公司 | Alarm method, device and the computer equipment of O&M monitor supervision platform |
| CN110781157A (en) * | 2019-09-27 | 2020-02-11 | 苏州浪潮智能科技有限公司 | A NAS-based backup and recovery method and device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113407504A (en) * | 2021-06-15 | 2021-09-17 | 中科曙光国际信息产业有限公司 | Data processing method, user space file system and storage medium |
| CN113407504B (en) * | 2021-06-15 | 2023-05-23 | 中科曙光国际信息产业有限公司 | Data processing method, user space file system and storage medium |
| CN114546960A (en) * | 2021-12-15 | 2022-05-27 | 中孚安全技术有限公司 | Visual monitored control system of file operation and terminating machine |
| CN114780353A (en) * | 2022-06-15 | 2022-07-22 | 统信软件技术有限公司 | File log monitoring method and system and computing device |
| CN114780353B (en) * | 2022-06-15 | 2022-09-27 | 统信软件技术有限公司 | File log monitoring method and system and computing device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111309557B (en) | 2022-06-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7418489B2 (en) | Method and apparatus for applying policies | |
| Huang et al. | Metastable failures in the wild | |
| US9542430B1 (en) | Ensuring data maintenance within a LDAP environment | |
| US8589727B1 (en) | Methods and apparatus for providing continuous availability of applications | |
| CN103069749B (en) | The method and system of the isolation of the problem in virtual environment | |
| KR20050120643A (en) | Non-invasive automatic offsite patch fingerprinting and updating system and method | |
| CN111104238B (en) | CE-based memory diagnosis method, device and medium | |
| CN111427743A (en) | BMC monitoring log processing method, device, equipment and medium | |
| CN111309557A (en) | Monitoring method, device, equipment and medium for multiple operating systems | |
| CN111522703A (en) | Method, apparatus and computer program product for monitoring access requests | |
| CN113760677A (en) | Abnormal link analysis method, device, equipment and storage medium | |
| CN113835921A (en) | Method, device, equipment and storage medium for processing interface service exception | |
| US8676968B2 (en) | Determining information about a computing system | |
| CN118410106A (en) | Cross-data source real-time synchronization method based on time line mapping | |
| JP2023547830A (en) | Delivery of event notifications from distributed file systems | |
| JP5240709B2 (en) | Computer system, method and computer program for evaluating symptom | |
| US12020039B2 (en) | Compute instance warmup operations | |
| CN118284885A (en) | Software application development tool for maturity promotion automation | |
| CN118820012A (en) | A terminal service availability monitoring system | |
| CN111338894A (en) | Remote monitoring method, system, equipment and medium | |
| Barros | Advanced Oracle monitoring agent for Zabbix | |
| US10735246B2 (en) | Monitoring an object to prevent an occurrence of an issue | |
| US20220129342A1 (en) | Conserving computer resources through query termination | |
| TWM597904U (en) | Servo host configuration setting management system | |
| CN111858538A (en) | A method, apparatus, device and medium for configuring BeeGFS quota in a cluster |
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 | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd. Country or region after: China Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before: China |