CN107566212A - A kind of monitoring resource management method and device - Google Patents
A kind of monitoring resource management method and device Download PDFInfo
- Publication number
- CN107566212A CN107566212A CN201710744479.3A CN201710744479A CN107566212A CN 107566212 A CN107566212 A CN 107566212A CN 201710744479 A CN201710744479 A CN 201710744479A CN 107566212 A CN107566212 A CN 107566212A
- Authority
- CN
- China
- Prior art keywords
- resource
- monitored
- monitoring
- information
- batch
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 65
- 238000007726 management method Methods 0.000 title claims abstract description 41
- 230000008676 import Effects 0.000 claims abstract description 36
- 238000013515 script Methods 0.000 claims abstract description 13
- 238000012790 confirmation Methods 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种资源监控管理方法和装置。涉及网络资源管理技术;解决了现有资源添加方式在添加多个不同资源监控任务时工作量大、效率低下的问题。该方法包括:接收批量资源导入文件,所述批量资源监控单元中包含有至少一个被监控资源;解析所述批量资源导入文件,得到各个被监控资源的资源类型信息;根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息;将所述被监控资源添加到系统中,对所述被监控资源进行监控。本发明提供的技术方案适用于云平台资源管理,实现了不同类型资源的批量监控任务自动导入。
The invention discloses a resource monitoring and management method and device. It involves network resource management technology; it solves the problem of heavy workload and low efficiency when multiple different resource monitoring tasks are added in the existing resource adding method. The method includes: receiving a batch resource import file, the batch resource monitoring unit contains at least one monitored resource; parsing the batch resource import file to obtain resource type information of each monitored resource; according to the material type information, Start the corresponding scanning script to scan the monitored resources, and obtain the information of each monitored resource; add the monitored resources to the system, and monitor the monitored resources. The technical solution provided by the invention is applicable to cloud platform resource management, and realizes the automatic import of batch monitoring tasks of different types of resources.
Description
技术领域technical field
本发明涉及网络资源管理技术,尤指一种资源监控管理方法和装置。The invention relates to network resource management technology, in particular to a resource monitoring and management method and device.
背景技术Background technique
随着浪潮云海OS等云平台资源管理系统应用的广泛,系统监控的资源种类越来越多,对云监控系统业务化处理能力越来越高,由于每种资源小类型的监控方式、用户名、密码等配置信息的不同,在添加监控资源时,用户需要对第一个待添加的资源进行一次添加操作,步骤一般是在资源添加模块,用户选择资源的资源小类型、系统将该资源小类型的配置信息展示给用户,用户需要输入资源的IP或者IP段、资源名和资源的配置信息,系统对根据用户输入的IP和配置信息进行扫描,扫描成功后,并将资源添加云监控系统中。With the wide application of cloud platform resource management systems such as Inspur Yunhai OS, the types of resources monitored by the system are increasing, and the business processing capability of the cloud monitoring system is getting higher and higher. , passwords and other configuration information are different. When adding monitoring resources, the user needs to add the first resource to be added once. The steps are generally in the resource adding module. The user selects the resource type of the resource, and the system adds the resource The type of configuration information is displayed to the user. The user needs to input the IP or IP segment of the resource, the resource name, and the configuration information of the resource. The system scans the IP and configuration information entered by the user. After the scan is successful, the resource is added to the cloud monitoring system. .
当用户需要监控大量的资源,尤其是需要添加多种资源小类型的业务时,添加操作会形成巨大的工作量。目前的添加方式不适合批量的业务化的资源的监控,对云平台资源管理系统的复杂业务管理造成了局限。When a user needs to monitor a large number of resources, especially for small types of businesses that need to add multiple resources, the adding operation will cause a huge workload. The current adding method is not suitable for the monitoring of batch business-oriented resources, which limits the complex business management of the cloud platform resource management system.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种资源监控管理访求和装置,通过识别批量资源导入文件中的每个被监控资源的资源类型信息,启动对相应资源类型的被监控资源的扫描添加,实现了对不同类型多个资源监控任务批量管理,解决了现有资源添加方式在添加多个不同资源监控任务时工作量大、效率低下的问题。In order to solve the above technical problems, the present invention provides a resource monitoring and management access summing device, which starts scanning and adding the monitored resources of the corresponding resource type by identifying the resource type information of each monitored resource in the batch resource import file, Realize the batch management of multiple resource monitoring tasks of different types, and solve the problem of heavy workload and low efficiency when adding multiple different resource monitoring tasks in the existing resource adding method.
为了达到本发明目的,本发明提供了一种资源监控管理方法,包括:In order to achieve the purpose of the present invention, the present invention provides a resource monitoring and management method, including:
接收批量资源导入文件,所述批量资源监控单元中包含有至少一个被监控资源;receiving a batch resource import file, the batch resource monitoring unit includes at least one monitored resource;
解析所述批量资源导入文件,得到各个被监控资源的资源类型信息;Analyzing the batch resource import file to obtain resource type information of each monitored resource;
根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息;According to the data type information, start the corresponding scanning script to scan the monitored resources, and obtain the information of each monitored resource;
将所述被监控资源添加到系统中,对所述被监控资源进行监控。The monitored resource is added to the system, and the monitored resource is monitored.
优选的,该方法还包括:Preferably, the method also includes:
在接收到添加被监控资源请求时,根据所述被监控资源请求中携带的请求添加的被监控资源涉及的至少一个资源类型,生成包含所述至少一个资源类型的被监控资源信息的模板文件;When receiving a request to add a monitored resource, generate a template file containing monitored resource information of the at least one resource type according to at least one resource type involved in the monitored resource carried in the monitored resource request;
返回所述模板文件,指示根据所述模板文件生成包含所述请求添加的被监控资源的批量资源导入文件。The template file is returned, indicating to generate a batch resource import file containing the monitored resources added by the request according to the template file.
优选的,所述被监控资源的信息具体至少包含以下数据中的任一项或任意多项:Preferably, the monitored resource information specifically includes at least any one or any multiple of the following data:
资源IP,资源名称,资源相应配置信息。Resource IP, resource name, and corresponding resource configuration information.
优选的,根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息的步骤之后,还包括:Preferably, according to the data type information, start a corresponding scan script to scan the monitored resources, and after the step of obtaining the information of each monitored resource, further include:
输出获取的所述至少一个被监控资源;outputting the obtained at least one monitored resource;
接收确认消息,在所述确认消息指示对所述至少一个被监控资源中的部分或全部进行监控。receiving an acknowledgment message, where the acknowledgment message indicates that part or all of the at least one monitored resource is to be monitored.
优选的,将所述被监控资源添加到系统中,对所述被监控资源进行监控的步骤具体为:Preferably, the monitored resources are added to the system, and the steps of monitoring the monitored resources are specifically:
将所述确认消息中指示的至少一个被监控资源中的部分或全部添加到系统中,进行监控。Add part or all of at least one monitored resource indicated in the confirmation message to the system for monitoring.
本发明还提供了一种资源监控管理装置,包括:The present invention also provides a resource monitoring and management device, including:
批量文件接收模块,用于接收批量资源导入文件,所述批量资源监控单元中包含有至少一个被监控资源;A batch file receiving module, configured to receive batch resource import files, the batch resource monitoring unit includes at least one monitored resource;
类型确定模块,用于解析所述批量资源导入文件,得到各个被监控资源的资源类型信息;A type determination module, configured to parse the batch resource import file to obtain resource type information of each monitored resource;
扫描模块,用于根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息;A scanning module, configured to start a corresponding scanning script to scan the monitored resources according to the data type information, and obtain information on each monitored resource;
监控对象管理模块,用于将所述被监控资源添加到系统中,对所述被监控资源进行监控。The monitoring object management module is used to add the monitored resource to the system and monitor the monitored resource.
优选的,该装置还包括:Preferably, the device also includes:
模板提供模块,用于在接收到添加被监控资源请求时,根据所述被监控资源请求中携带的请求添加的被监控资源涉及的至少一个资源类型,生成包含所述至少一个资源类型的被监控资源信息的模板文件,A template providing module, configured to, when receiving a request to add a monitored resource, generate a monitored resource that includes the at least one resource type according to at least one resource type involved in the monitored resource carried in the monitored resource request. Template files for resource information,
返回所述模板文件,指示根据所述模板文件生成包含所述请求添加的被监控资源的批量资源导入文件。The template file is returned, indicating to generate a batch resource import file containing the monitored resources added by the request according to the template file.
优选的,所述被监控资源的信息具体至少包含以下数据中的任一项或任意多项:Preferably, the monitored resource information specifically includes at least any one or any multiple of the following data:
资源IP,资源名称,资源相应配置信息。Resource IP, resource name, and corresponding resource configuration information.
优选的,该装置还包括:Preferably, the device also includes:
扫描结果输出模块,用于输出获取的所述至少一个被监控资源;A scan result output module, configured to output the acquired at least one monitored resource;
结果筛选模块,用于接收确认消息,在所述确认消息指示对所述至少一个被监控资源中的部分或全部进行监控。The result screening module is configured to receive a confirmation message, where the confirmation message indicates to monitor part or all of the at least one monitored resource.
优选的,所述监控对象管理模块,具体用于将所述确认消息中指示的至少一个被监控资源中的部分或全部添加到系统中,进行监控。Preferably, the monitored object management module is specifically configured to add part or all of at least one monitored resource indicated in the confirmation message to the system for monitoring.
本发明提供了一种资源监控管理方法和装置,在接收到包含不同资源类型被监控资源的批量资源导入文件时,首先解析该批量资源导入文件,得到各个被监控资源的资源类型信息,再根据资源类型信息启动相应的扫描脚本对被监控资源进行扫描,获取各个被监控资源的信息,进而完成被监控资源的添加,在此基础上即可进行对新添加被监控资源的监控。实现了不同类型资源的批量监控任务自动导入,解决了现有资源添加方式在添加多个不同资源监控任务时工作量大、效率低下的问题。The present invention provides a resource monitoring and management method and device. When a batch resource import file containing monitored resources of different resource types is received, the batch resource import file is first parsed to obtain the resource type information of each monitored resource, and then according to The resource type information starts the corresponding scanning script to scan the monitored resources, obtains the information of each monitored resource, and then completes the addition of monitored resources, and then monitors the newly added monitored resources. It realizes the automatic import of batch monitoring tasks of different types of resources, and solves the problem of heavy workload and low efficiency when adding multiple monitoring tasks of different resources in the existing resource adding method.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the application to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.
图1为本发明的实施例一提供的一种资源监控管理方法的流程示意图;FIG. 1 is a schematic flowchart of a resource monitoring and management method provided by Embodiment 1 of the present invention;
图2为本发明的实施例二提供的一种资源监控管理装置的结构示意图;FIG. 2 is a schematic structural diagram of a resource monitoring and management device provided by Embodiment 2 of the present invention;
图3为本发明的实施例三提供的一种资源监控管理装置的实现原理示意图。FIG. 3 is a schematic diagram of an implementation principle of a resource monitoring and management device provided by Embodiment 3 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the object, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
当用户需要监控大量的资源,尤其是需要添加多种资源小类型的业务时,添加操作会形成巨大的工作量。目前的添加方式不适合批量的业务化的资源的监控,对云平台资源管理系统的复杂业务管理造成了局限。When a user needs to monitor a large number of resources, especially for small types of businesses that need to add multiple resources, the adding operation will cause a huge workload. The current adding method is not suitable for the monitoring of batch business-oriented resources, which limits the complex business management of the cloud platform resource management system.
基于以上问题,本发明的实施例提供了一种资源监控管理方法和装置,在用户需要添加多个不同类型的被监控资源时,生成支持涉及的全部资源类型的模板,并指示用户依据该模板生成相应的批量资源导入文件,系统根据批量资源配置文件中各个被监控资源的资源类型信息,对被监控资源进行扫描并添加到系统中。能够快速地实现进行不同资源小类型的资源批量导入,节省用户的资源添加的时间,并提高资源添加的易用性,从而实现云资源管理系统的业务化。Based on the above problems, the embodiments of the present invention provide a method and device for resource monitoring and management. When a user needs to add multiple monitored resources of different types, a template supporting all resource types involved is generated, and the user is instructed to follow the template The corresponding batch resource import file is generated, and the system scans and adds the monitored resources to the system according to the resource type information of each monitored resource in the batch resource configuration file. It can quickly realize the batch import of different resources and small types of resources, save the time for users to add resources, and improve the ease of use of resource addition, so as to realize the businessization of the cloud resource management system.
首先,结合附图,对本发明的实施例一进行说明。First, Embodiment 1 of the present invention will be described with reference to the accompanying drawings.
本发明实施例提供了一种资源监控管理方法,使用该方法完成不同类型资源的监控任务指添加的流程如图1所示,包括:The embodiment of the present invention provides a resource monitoring and management method, using this method to complete the process of adding monitoring tasks of different types of resources, as shown in Figure 1, including:
步骤101、在接收到添加被监控资源请求时,根据所述被监控资源请求中携带的请求添加的被监控资源涉及的至少一个资源类型,生成包含所述至少一个资源类型的被监控资源信息的模板文件;Step 101: When a request to add a monitored resource is received, according to at least one resource type involved in the monitored resource carried in the monitored resource request, generate a resource information file containing the monitored resource information of the at least one resource type template file;
本步骤中,在用户需要添加不同资源类型的被监控资源时,向系统发出添加被监控资源请求,所述被监控资源请求中携带有请求添加的被监控资源涉及的至少一个资源类型。具体的,用户可通过操作界面,点选想要添加的资源类型来实现添加被监控资源请求的发出。In this step, when the user needs to add monitored resources of different resource types, a request for adding a monitored resource is sent to the system, and the monitored resource request carries at least one resource type involved in the monitored resource requested to be added. Specifically, the user can send a request to add a monitored resource by clicking on the resource type to be added through the operation interface.
步骤102、返回所述模板文件,指示根据所述模板文件生成包含所述请求添加的被监控资源的批量资源导入文件;Step 102, return the template file, and instruct to generate a batch resource import file containing the monitored resources added by the request according to the template file;
本步骤中,系统输出生成的模板文件,在所述模板文件中,明确了各个资源类型下被监控资源的的信息包含的数据格式,指示用户根据该模板文件,编辑生成包含被监控资源的信息的批量资源导入文件。In this step, the system outputs the generated template file. In the template file, the data format contained in the information of the monitored resource under each resource type is specified, and the user is instructed to edit and generate the information containing the monitored resource according to the template file. The bulk resource import file for .
步骤103、接收批量资源导入文件,所述批量资源监控单元中包含有至少一个被监控资源。Step 103, receiving a batch resource import file, the batch resource monitoring unit includes at least one monitored resource.
步骤104、解析所述批量资源导入文件,得到各个被监控资源的资源类型信息;Step 104, parsing the batch resource import file to obtain resource type information of each monitored resource;
本步骤中,对批量资源导入文件进行解析,根据各个资源类型。In this step, the batch resource import file is parsed according to each resource type.
步骤105、根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息;Step 105, according to the data type information, start the corresponding scanning script to scan the monitored resources, and obtain the information of each monitored resource;
所述被监控资源的信息具体至少包含以下数据中的任一项或任意多项:The information of the monitored resources specifically includes at least any one or any multiple of the following data:
资源IP,资源名称,资源相应配置信息。Resource IP, resource name, and corresponding resource configuration information.
本步骤中,调用相应的扫描脚本,对被监控资源进行扫描,获取不同资源类型的被监控资源的信息。In this step, corresponding scanning scripts are invoked to scan the monitored resources to obtain information of monitored resources of different resource types.
步骤106、输出获取的所述至少一个被监控资源;Step 106, outputting the obtained at least one monitored resource;
本步骤中,输出扫描结果,可以通过用户界面呈现,以供用户进行进一步的选择确认。In this step, the scanning result is output, which may be presented through a user interface for further selection and confirmation by the user.
步骤107、接收确认消息,在所述确认消息指示对所述至少一个被监控资源中的部分或全部进行监控;Step 107: Receive a confirmation message, where the confirmation message indicates to monitor part or all of the at least one monitored resource;
本步骤中,接收用户返回的确认消息,该确认消息指示对步骤106输出的至少一个被监控资源中的全部或部分进行监控。In this step, a confirmation message returned by the user is received, and the confirmation message indicates to monitor all or part of at least one monitored resource output in step 106 .
步骤108、将所述被监控资源添加到系统中,对所述被监控资源进行监控;Step 108, adding the monitored resource to the system, and monitoring the monitored resource;
本步骤中,具体的将所述确认消息中指示的至少一个被监控资源中的部分或全部添加到系统中,进行监控。In this step, specifically, part or all of at least one monitored resource indicated in the confirmation message is added to the system for monitoring.
下面结合附图,对本发明的实施例二进行说明。Embodiment 2 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种资源监控管理装置,其结构如图2所示,包括:An embodiment of the present invention provides a resource monitoring and management device, the structure of which is shown in Figure 2, including:
批量文件接收模块201,用于接收批量资源导入文件,所述批量资源监控单元中包含有至少一个被监控资源;A batch file receiving module 201, configured to receive a batch resource import file, the batch resource monitoring unit includes at least one monitored resource;
类型确定模块202,用于解析所述批量资源导入文件,得到各个被监控资源的资源类型信息;A type determination module 202, configured to parse the batch resource import file to obtain resource type information of each monitored resource;
扫描模块203,用于根据所述资料类型信息,启动相应的扫描脚本扫描被监控资源,获取各个被监控资源的信息;The scanning module 203 is used to start a corresponding scanning script to scan the monitored resources according to the information of the material type, and obtain the information of each monitored resource;
监控对象管理模块204,用于将所述被监控资源添加到系统中,对所述被监控资源进行监控。The monitoring object management module 204 is configured to add the monitored resource to the system and monitor the monitored resource.
优选的,该装置还包括:Preferably, the device also includes:
模板提供模块205,用于在接收到添加被监控资源请求时,根据所述被监控资源请求中携带的请求添加的被监控资源涉及的至少一个资源类型,生成包含所述至少一个资源类型的被监控资源信息的模板文件,The template providing module 205 is configured to, when receiving a request to add a monitored resource, generate a monitored resource type containing the at least one resource type according to at least one resource type involved in the monitored resource carried in the monitored resource request. A template file for monitoring resource information,
返回所述模板文件,指示根据所述模板文件生成包含所述请求添加的被监控资源的批量资源导入文件。The template file is returned, indicating to generate a batch resource import file containing the monitored resources added by the request according to the template file.
优选的,所述被监控资源的信息具体至少包含以下数据中的任一项或任意多项:Preferably, the monitored resource information specifically includes at least any one or any multiple of the following data:
资源IP,资源名称,资源相应配置信息。Resource IP, resource name, and corresponding resource configuration information.
优选的,该装置还包括:Preferably, the device also includes:
扫描结果输出模块206,用于输出获取的所述至少一个被监控资源;A scan result output module 206, configured to output the obtained at least one monitored resource;
结果筛选模块207,用于接收确认消息,在所述确认消息指示对所述至少一个被监控资源中的部分或全部进行监控。The result screening module 207 is configured to receive a confirmation message, where the confirmation message indicates to monitor part or all of the at least one monitored resource.
优选的,所述监控对象管理模块204,具体用于将所述确认消息中指示的至少一个被监控资源中的部分或全部添加到系统中,进行监控。Preferably, the monitored object management module 204 is specifically configured to add part or all of at least one monitored resource indicated in the confirmation message to the system for monitoring.
下面结合附图,对本发明的实施例三进行说明。Embodiment 3 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种资源监控管理装置,如图3所示,包括:模板下载模块、模板上传模块、资源扫描模块、资源添加模块四个模块。An embodiment of the present invention provides a resource monitoring and management device, as shown in FIG. 3 , including four modules: a template downloading module, a template uploading module, a resource scanning module, and a resource adding module.
1)模板导入模块:用户如果需要批量添加不同资源类型的被监控资源,可以选择不同的资源类型,系统会根据用户选择的资源类型生成模板,并将生成的模板提供给用户下载到本地,用户可对模板中不同资源类型的各个数据格式内容进行添加,如进行资源IP、资源名称和资源相应配置的添加。1) Template import module: If users need to add monitored resources of different resource types in batches, they can choose different resource types, and the system will generate templates according to the resource types selected by users, and provide the generated templates for users to download locally, and users can Each data format content of different resource types in the template can be added, such as adding resource IP, resource name and corresponding resource configuration.
2)用户将填写好的模板作为批量资源导入文件上传到系统中,以进行资源扫描使用。2) The user uploads the completed template as a batch resource import file to the system for resource scanning.
3)系统对用户上传的批量资源导入文件进行解析。先根据模板中的资源类型信息,调用该资源类型的扫描脚本,并逐个扫描该资源类型下的被监控资源,直到将所有的资源类型下的被监控资源全部扫描完毕,并将扫描得到的被监控资源的信息展示给用户,以备用户进行添加。3) The system parses the batch resource import file uploaded by the user. First, according to the resource type information in the template, call the scan script of this resource type, and scan the monitored resources under this resource type one by one, until all the monitored resources under all resource types are scanned, and the scanned The information of the monitoring resource is displayed to the user for the user to add.
4)用户针对扫描到的被监控资源,最终选择要添加的被监控资源,系统根据用户的选择,将相应的被监控资源添加到系统中,并将添加成功或者失败信息展示给用户。4) The user finally selects the monitored resources to be added for the scanned monitored resources, and the system adds the corresponding monitored resources to the system according to the user's selection, and displays the addition success or failure information to the user.
本发明的实施例提供了一种资源监控管理方法和装置,在接收到包含不同资源类型被监控资源的批量资源导入文件时,首先解析该批量资源导入文件,得到各个被监控资源的资源类型信息,再根据资源类型信息启动相应的扫描脚本对被监控资源进行扫描,获取各个被监控资源的信息,进而完成被监控资源的添加,在此基础上即可进行对新添加被监控资源的监控。实现了不同类型资源的批量监控任务导入,解决了现有资源添加方式在添加多个不同资源监控任务时工作量大、效率低下的问题。Embodiments of the present invention provide a resource monitoring and management method and device. When a batch resource import file containing monitored resources of different resource types is received, the batch resource import file is first parsed to obtain resource type information of each monitored resource , and then start the corresponding scanning script to scan the monitored resources according to the resource type information, obtain the information of each monitored resource, and then complete the addition of monitored resources, and then monitor the newly added monitored resources. It realizes the batch monitoring task import of different types of resources, and solves the problem of heavy workload and low efficiency when adding multiple monitoring tasks of different resources in the existing resource adding method.
在云监控系统中,本发明的实施例提供不同资源类型的被监控资源批量导入的模板,用户只需要选择要添加的资源的类型,系统自动生成用户选择的资源类型的模板,用户将模板下载到本地,并按照模板的内容将被监控资源的信息填写入模板,得到批量资源导入文件,并上传到系统中,系统会根据批量资源导入文件中的内容,对用户输入的各个被监控资源进行扫描,并将扫描到的如被监控资源的IP、资源类型、资源名称等信息展示给用户,用户根据对扫描到的被监控资源进行进一步选择是否添加到系统中进行监控,最后系统将用户最终选中确认的被监控资源添加到系统中,并将添加成功和失败的资源的详细信息展示给用户,这种以模板的形式批量添加资源的方式,能够使用户能够快速地将要监控的资源添加到云监控系统中,避免用户对各个资源进行追条的配置信息的输入、扫描和添加,节省大量的时间、精力,在大规模的资源监控添加过程中,有很高的技术价值。In the cloud monitoring system, the embodiment of the present invention provides templates for batch importing of monitored resources of different resource types. The user only needs to select the type of resource to be added, and the system automatically generates a template for the resource type selected by the user. The user downloads the template According to the content of the template, fill in the information of the monitored resources into the template, obtain the batch resource import file, and upload it to the system. Scan, and display the scanned information such as the IP, resource type, and resource name of the monitored resource to the user. The user further chooses whether to add the scanned resource to the system for monitoring according to the scanned resource. Finally, the system sends the user the final The selected and confirmed monitored resources are added to the system, and the detailed information of the resources that have been successfully added and failed to be added is displayed to the user. This method of adding resources in batches in the form of a template enables users to quickly add the resources to be monitored to the In the cloud monitoring system, users are prevented from inputting, scanning, and adding configuration information for each resource, saving a lot of time and energy. In the process of adding large-scale resource monitoring, it has high technical value.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described content is only an embodiment adopted for understanding the present invention, and is not intended to limit the present invention. Anyone skilled in the field of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present invention, but the patent protection scope of the present invention must still be The scope defined by the appended claims shall prevail.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710744479.3A CN107566212B (en) | 2017-08-25 | 2017-08-25 | A resource monitoring and management method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710744479.3A CN107566212B (en) | 2017-08-25 | 2017-08-25 | A resource monitoring and management method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107566212A true CN107566212A (en) | 2018-01-09 |
| CN107566212B CN107566212B (en) | 2021-07-02 |
Family
ID=60977121
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710744479.3A Active CN107566212B (en) | 2017-08-25 | 2017-08-25 | A resource monitoring and management method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107566212B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114116627A (en) * | 2021-11-02 | 2022-03-01 | 深圳Tcl新技术有限公司 | Multimedia resource scanning method, device, storage medium and electronic device |
| CN114448495A (en) * | 2022-03-31 | 2022-05-06 | 四川安迪科技实业有限公司 | Equipment batch adding method and device based on TDMA satellite network management |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020184217A1 (en) * | 2001-04-19 | 2002-12-05 | Bisbee Stephen F. | Systems and methods for state-less authentication |
| US20050108433A1 (en) * | 2003-10-23 | 2005-05-19 | Microsoft Corporation | Resource manifest |
| CN101867494A (en) * | 2010-06-18 | 2010-10-20 | 北京神州泰岳软件股份有限公司 | Soft hardware performance monitoring method based on monitoring template, and system thereof |
| CN103490941A (en) * | 2013-03-07 | 2014-01-01 | 中标软件有限公司 | Real-time monitoring on-line configuration method in cloud computing environment |
| CN104102480A (en) * | 2013-04-11 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for generating configuration files |
| CN105592122A (en) * | 2014-11-03 | 2016-05-18 | 中国银联股份有限公司 | Cloud platform monitoring method and cloud platform monitoring system |
| CN106406951A (en) * | 2016-09-20 | 2017-02-15 | 杭州昆海信息技术有限公司 | An installing method and device for an operating system |
-
2017
- 2017-08-25 CN CN201710744479.3A patent/CN107566212B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020184217A1 (en) * | 2001-04-19 | 2002-12-05 | Bisbee Stephen F. | Systems and methods for state-less authentication |
| US20050108433A1 (en) * | 2003-10-23 | 2005-05-19 | Microsoft Corporation | Resource manifest |
| CN101867494A (en) * | 2010-06-18 | 2010-10-20 | 北京神州泰岳软件股份有限公司 | Soft hardware performance monitoring method based on monitoring template, and system thereof |
| CN103490941A (en) * | 2013-03-07 | 2014-01-01 | 中标软件有限公司 | Real-time monitoring on-line configuration method in cloud computing environment |
| CN104102480A (en) * | 2013-04-11 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Method and device for generating configuration files |
| CN105592122A (en) * | 2014-11-03 | 2016-05-18 | 中国银联股份有限公司 | Cloud platform monitoring method and cloud platform monitoring system |
| CN106406951A (en) * | 2016-09-20 | 2017-02-15 | 杭州昆海信息技术有限公司 | An installing method and device for an operating system |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114116627A (en) * | 2021-11-02 | 2022-03-01 | 深圳Tcl新技术有限公司 | Multimedia resource scanning method, device, storage medium and electronic device |
| CN114448495A (en) * | 2022-03-31 | 2022-05-06 | 四川安迪科技实业有限公司 | Equipment batch adding method and device based on TDMA satellite network management |
| CN114448495B (en) * | 2022-03-31 | 2023-06-13 | 四川安迪科技实业有限公司 | Equipment batch adding method and device based on TDMA satellite network management |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107566212B (en) | 2021-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102571396B (en) | Communication network system and routing inspection subsystem and routing inspection method of communication equipment | |
| CN107766509B (en) | Method and device for static backup of webpage | |
| CN103595760A (en) | File picture sharing method based on cloud | |
| CN106022007A (en) | Cloud platform system and method oriented to biological omics big data calculation | |
| CN112632566A (en) | Vulnerability scanning method and device, storage medium and electronic equipment | |
| CN115268964A (en) | Data reinjection method and system, electronic device and readable storage medium | |
| CN114564249B (en) | Recommended scheduling engine, recommended scheduling method, and computer-readable storage medium | |
| CN117056240B (en) | Data element development and debugging method and system supporting offline Jar package | |
| WO2019127894A1 (en) | Method for converting pdf file into picture, electronic device, and computer-readable storage medium | |
| CN111538754A (en) | Data collection management system, method, device, equipment and storage medium | |
| CN114327712A (en) | Cloud application system, window management method and device | |
| CN115543491A (en) | Microservice processing method and device | |
| CN109788251B (en) | Video processing method, device and storage medium | |
| CN107566212A (en) | A kind of monitoring resource management method and device | |
| CN111769979A (en) | A cloud resource orchestration method, system, terminal and storage medium | |
| CN106936660B (en) | Data acquisition method and device | |
| CN111125681A (en) | Service processing method, device and storage medium | |
| CN115373673A (en) | Application page construction method and device, computer equipment and readable storage medium | |
| CN113704079B (en) | Protobuf-based interface testing method and device | |
| CN113467776B (en) | Device access method, device, storage medium and electronic device | |
| CN112650815B (en) | Method and device for synchronizing environment data, storage medium and electronic device | |
| CN115809176A (en) | Log management method, log management device, electronic device, log management medium, and program product | |
| CN115185841A (en) | System reconfiguration test method, device, equipment and storage medium | |
| CN114610446A (en) | Method, device and system for automatically injecting probe | |
| CN110768855B (en) | Method and device for testing linkmzation performance |
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 |