WO2017107484A1 - 一种云计算监控方法及装置 - Google Patents

一种云计算监控方法及装置 Download PDF

Info

Publication number
WO2017107484A1
WO2017107484A1 PCT/CN2016/091857 CN2016091857W WO2017107484A1 WO 2017107484 A1 WO2017107484 A1 WO 2017107484A1 CN 2016091857 W CN2016091857 W CN 2016091857W WO 2017107484 A1 WO2017107484 A1 WO 2017107484A1
Authority
WO
WIPO (PCT)
Prior art keywords
monitoring
database
data
ndoutils
ceilometer
Prior art date
Application number
PCT/CN2016/091857
Other languages
English (en)
French (fr)
Inventor
王庆
冯骏
Original Assignee
深圳市华讯方舟软件技术有限公司
华讯方舟科技有限公司
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 深圳市华讯方舟软件技术有限公司, 华讯方舟科技有限公司 filed Critical 深圳市华讯方舟软件技术有限公司
Publication of WO2017107484A1 publication Critical patent/WO2017107484A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Definitions

  • the present invention relates to the field of cloud computing monitoring and maintenance, and in particular, to a cloud computing monitoring method and apparatus.
  • Ceilometer is a sub-project in OpenStack that, like a funnel, collects almost all of the events that occur within OpenStack and then provides data support for billing and monitoring and other services.
  • the MIB library, and the SNMP MIB library is relatively complicated to modify. Some monitoring options cannot be modified, and it is difficult to expand. It is difficult for the compiler to write monitoring scripts, which is not conducive to improving the monitoring efficiency, and can not meet the Ceilometer project's collection data collection requirements.
  • An object of the embodiments of the present invention is to provide a cloud computing monitoring method, which aims to solve the problem that the current Ceilomete r project uses SNMP as a physical machine monitoring by default, and the process of customizing the monitoring option is cumbersome, and the monitoring option is difficult to expand, which is not conducive to Improve the efficiency of monitoring.
  • a cloud computing monitoring method includes:
  • Network monitoring tool Nagios collects monitoring data of the device according to the configured custom monitoring options, and writes the collected monitoring data into the Ndillers database;
  • the monitoring component Ceilometer connects to the Ndillers database, reads and parses the monitoring data in the Ndillers database, and writes the parsed monitoring data into the Ceilometer database;
  • the monitoring component Ceilometer monitors the device according to the currently written monitoring data and the historically saved monitoring data.
  • Another object of the embodiments of the present invention is to provide a cloud computing monitoring apparatus, including:
  • Ndillers database write module for network monitoring tool Nagios collects monitoring data of the device according to the configured custom monitoring option, and writes the collected monitoring data into the Ndillers database;
  • Ceilometer database write module for monitoring components Ceilometer connects to the Nd accordings database
  • the alarm module is configured to monitor the component.
  • the Ceilometer monitors the device according to the currently written monitoring data and the historically saved monitoring data.
  • the monitoring component Ceilometer connects to the Ndoutils database, reads and parses the monitoring data in the Ndillers database, and writes the parsed monitoring data into the Ceilometer database.
  • Nagios writes the monitoring data to the database
  • Ceilometer determines to read the database, parse it and store it in the ceilometer database.
  • Nagios replaces SNMP
  • OpenStack project indirectly has Nagios monitoring capabilities.
  • Ceilometer can monitor device information such as physical machines and routers through Nagios
  • Nagios borrows the Ceilometer distributed alarm mechanism to customize the alarm to the hardware device, thereby avoiding the lack of flexibility of its own alarm mechanism;
  • the monitoring component Ceilometer and the network monitoring tool Nagios are organically combined, easy to maintain and burst, and the maintenance personnel can implement the maintenance function through the Ceilometer UI, and the code can be rarely used for the newly extended monitoring option. Achieve volume, save maintenance and cost, and have the flexibility to design different monitoring options according to different needs.
  • FIG. 1 is a flowchart of an implementation of a cloud computing monitoring method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an implementation of a cloud computing monitoring method step S101 according to an embodiment of the present invention
  • 3 is a flowchart of implementing the cloud computing monitoring method step S102 according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a cloud computing monitoring apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a cloud computing monitoring apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an implementation of a cloud computing monitoring method according to an embodiment of the present invention, which is described in detail as follows:
  • step S101 the network monitoring tool Nagios collects the monitoring data of the device according to the configured custom monitoring option, and writes the collected monitoring data into the Ndillers database;
  • step S102 the monitoring component Ceilometer connects to the Ndillers database, reads and parses the
  • the monitoring data in the Ndoutils database the parsed monitoring data is written into the Ceilometer database
  • step S103 the monitoring component Ceilometer monitors the device according to the currently written monitoring data and the historically saved monitoring data.
  • the historically saved monitoring data includes monitoring data that is written multiple times.
  • step S103 specifically:
  • the currently generated monitoring data and the historically stored monitoring data are generated in the same preset interval.
  • the currently written monitoring data is abnormal, and the device is alerted by using a distributed alarm mechanism.
  • Embodiment 2 2 is a flowchart of implementing the cloud computing monitoring method step S101 according to an embodiment of the present invention, which is described in detail below.
  • step S201 Nagios configures a custom monitoring option
  • step S202 configuring an Ndarras database
  • step S203 according to the configured custom monitoring option and the extended control NRPE, the remote host monitoring script is triggered to obtain a return value;
  • step S204 monitoring data is generated according to the return value, and the generated monitoring data is written into the Ndo utils database.
  • FIG. 3 is a flowchart of implementing the cloud computing monitoring method step S102 according to an embodiment of the present invention, which is described in detail below.
  • step S301 the monitoring component Ceilometer writes a model of the Ndoutils data key table
  • step S302 the Ndoutils database is connected through a pre-configured collection interface, and according to the model, the monitoring data in the Ndoutils database is read and parsed, and the parsed monitoring data is written into the Ceilo meter database.
  • the embodiment of the present invention describes the composition of the monitoring data, which is described in detail as follows:
  • the monitoring data includes at least one of monitoring host resource data, monitoring network service data, and parallel service checking mechanism data.
  • the embodiment of the present invention describes the implementation process of the cloud computing monitoring method step S302, which is described in detail as follows:
  • FIG. 4 is a structural block diagram of a cloud computing monitoring apparatus according to an embodiment of the present invention, which may be operated in an electronic device. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • a cloud computing monitoring device includes:
  • Ndillers database write module 41 used for network monitoring tool Nagios according to the configured custom monitoring Option, collect monitoring data of the device, and write the collected monitoring data into the Ndillers database;
  • Ceilometer database write module 42 for monitoring components Ceilometer connects the Ndoutils database, reads and parses the monitoring data in the Ndoutils database, and writes the parsed monitoring data into the Ceilo meter database;
  • the alarm module 43 is used for monitoring components.
  • the Ceilometer monitors the device according to the currently written monitoring data and the historically saved monitoring data.
  • the Ndillers database writing module includes:
  • a first configuration unit configured to configure a custom monitoring option by Nagios
  • a second configuration unit configured to configure an Ndoutils database
  • a triggering unit configured to trigger a remote host monitoring script according to the configured custom monitoring option and the extended control NRPE, to obtain a return value
  • the Ndillers database writing unit is configured to generate monitoring data according to the return value, and write the generated monitoring data into the Ndillers database.
  • the cloud computing monitoring path embedding module further includes:
  • a model writing unit for monitoring a component Ceilometer writes a model of the Ndoutils data key table
  • a Ceilometer database writing unit configured to connect to the Ndoutils database through a pre-configured collection interface, read and parse monitoring data in the Ndoutils database according to the model, and write the parsed monitoring data into a Ceilometer database.
  • the monitoring data includes at least one of monitoring host resource data, monitoring network service data, and parallel service checking mechanism data.
  • the Ceilomete database writing unit is configured to connect to the Ndoutils database through a pre-configured collection interface, and read and parse the The monitoring host resource data in the Ndoutils database is used to write the parsed monitoring host resource data into the Ceilometer database.
  • the cloud-based monitoring device 200 may be a host server containing computing power, or a personal computer PC, or a portable computer or terminal that can be carried, etc., and the specific embodiment of the present invention does not limit the specific implementation of the cloud computing monitoring device.
  • the cloud computing monitoring device 200 includes:
  • processor 210 communication interface 220, memory
  • the processor 210, the communication interface 220, and the memory 230 complete communication with each other through the bus 240.
  • the communication interface 220 is configured to communicate with an external device, such as a personal computer, a server, or the like.
  • the processor 210 is configured to execute the program 232.
  • the program 232 can include program code, the program code including computer operating instructions.
  • the processor 210 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 230 is configured to store the program 232.
  • the memory 230 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the program 232 may specifically include:
  • the communication interface is configured to communicate with an external device
  • the processor is configured to execute a program
  • the memory is configured to store the program
  • the program includes:
  • Ndillers database write module for network monitoring tool Nagios collects monitoring data of the device according to the configured custom monitoring option, and writes the collected monitoring data into the Ndillers database;
  • a Ceilometer database writing module configured to monitor the component Ceilometer to connect to the Ndoutils database, read and parse the monitoring data in the Ndoutils database, and write the parsed monitoring data into the Ceilome ter database;
  • the alarm module is configured to monitor the component Ceilometer according to the currently written monitoring data and the historically saved monitoring data.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM, Read-Only)
  • RAM random access memory
  • disk disk or optical disk, and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种云计算监控方法及装置,所述云计算监控方法包括:网络监视工具Nagios根据配置的自定义监控选项,采集设备的监控数据,将采集到的监控数据写入Ndoutils数据库;监控组件Ceilometer连接所述Ndoutils数据库,读取并解析所述Ndoutils数据库中的监控数据,将解析的监控数据写入Ceilometer数据库;监控组件Ceilometer根据当前写入的监控数据以及历史保存的监控数据,对所述设备进行监控。本发明的有益效果在于以下三方面:第一方面,Ceilometer可通过Nagios来监控物理机、路由器等设备信息;第二方面,Nagios借用Ceilometer分布式告警机制,可对硬件设备自定义告警,避免了出现自身的报警机制缺乏灵活的情况;第三方面,易于维护和开发,可以根据不同需求进行设计不同的监控选项。

Description

一种云计算监控方法及装置
技术领域
[0001] 本发明属于云计算监控运维领域, 尤其涉及一种云计算监控方法及装置。
背景技术
[0002] Ceilometer是 OpenStack中的一个子项目, 它像一个漏斗一样, 能把 OpenStack内 部发生的几乎所有的事件都收集起来, 然后为计费和监控以及其它服务提供数 据支撑。
[0003] 然而, 在云计算监控运维领域中, 目前的 Ceilometer项目均是默认使用 SNMP作 为物理机监控, 自定义监控选项的过程繁琐, 且监控选项难以扩展, 不利于提 高监控效率。 其原因在于, 若想自定义监控选项, 则需要修改 SNMP
MIB库, 而 SNMP MIB库修改起来相对复杂, 部分监控选项不能修改, 难以扩展 , 幵发人员难以编写监控脚本, 不利于提高监控效率, 也无法满足 Ceilometer项 目对监控数据的采集需求。
技术问题
[0004] 本发明实施例的目的在于提供一种云计算监控方法, 旨在解决目前的 Ceilomete r项目默认使用 SNMP作为物理机监控, 自定义监控选项的过程繁琐, 且监控选 项难以扩展, 不利于提高监控效率的问题。
问题的解决方案
技术解决方案
[0005] 本发明实施例是这样实现的, 一种云计算监控方法, 包括:
[0006] 网络监视工具 Nagios根据配置的自定义监控选项, 采集设备的监控数据, 将采 集到的监控数据写入 Ndoutils数据库;
[0007] 监控组件 Ceilometer连接所述 Ndoutils数据库, 读取并解析所述 Ndoutils数据库 中的监控数据, 将解析的监控数据写入 Ceilometer数据库;
[0008] 监控组件 Ceilometer根据当前写入的监控数据以及历史保存的监控数据, 对所 述设备进行监控。 [0009] 本发明实施例的另一目的在于提供一种云计算监控装置, 包括:
[0010] Ndoutils数据库写入模块, 用于网络监视工具 Nagios根据配置的自定义监控选 项, 采集设备的监控数据, 将采集到的监控数据写入 Ndoutils数据库;
[0011] Ceilometer数据库写入模块, 用于监控组件 Ceilometer连接所述 Ndoutils数据库
, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilome ter数据库;
[0012] 告警模块, 用于监控组件 Ceilometer根据当前写入的监控数据以及历史保存的 监控数据, 对所述设备进行监控。
发明的有益效果
有益效果
[0013] 在本发明实施例中, 监控组件 Ceilometer连接所述 Ndoutils数据库, 读取并解析 所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilometer数据库。 通 过 ndoutils数据库作为中转, Nagios把监控数据写入数据库, Ceilometer定吋读取 该数据库, 解析并存入 ceilometer数据库。 解决了目前的 Ceilometer项目默认使用 SNMP作为物理机监控, 自定义监控选项的过程繁琐, 且监控选项难以扩展, 不 利于提高监控效率的问题。 其有益效果在于以下三方面, 详述如下:
[0014] 第一方面, 采用 Nagios替换 SNMP, OpenStack项目间接拥有了 Nagios监控功能
, Ceilometer可通过 Nagios来监控物理机、 路由器等设备信息;
[0015] 第二方面, Nagios借用 Ceilometer分布式告警机制, 可对硬件设备自定义告警 , 避免了出现自身的报警机制缺乏灵活的情况;
[0016] 第三方面, 监控组件 Ceilometer和网络监视工具 Nagios有机结合, 易于维护和 幵发, 幵发人员可通过 Ceilometer的 UI实现维护功能, 同吋对于新扩展的监控选 项都可以很少的代码量实现, 节省了维护和幵发费用, 同吋又具备足够的灵活 性, 可以根据不同需求进行设计不同的监控选项。
对附图的简要说明
附图说明
[0017] 图 1是本发明实施例提供的云计算监控方法的实现流程图;
[0018] 图 2是本发明实施例提供的云计算监控方法步骤 S101的实现流程图; [0019] 图 3是本发明实施例提供的云计算监控方法步骤 S102的实现流程图;
[0020] 图 4是本发明实施例提供的云计算监控装置的结构框图;
[0021] 图 5是本发明实施例提供的云计算监控装置的结构示意图。
本发明的实施方式
[0022] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。
[0023] 实施例一
[0024] 图 1是本发明实施例提供的云计算监控方法的实现流程图, 详述如下:
[0025] 在步骤 S101中, 网络监视工具 Nagios根据配置的自定义监控选项, 采集设备的 监控数据, 将采集到的监控数据写入 Ndoutils数据库;
[0026] 在步骤 S102中, 监控组件 Ceilometer连接所述 Ndoutils数据库, 读取并解析所述
Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilometer数据库;
[0027] 在步骤 S 103中, 监控组件 Ceilometer根据当前写入的监控数据以及历史保存的 监控数据, 对所述设备进行监控。
[0028] 其中, 历史保存的监控数据包括多次写入的监控数据。
[0029] 其中, 步骤 S 103, 具体为:
[0030] 获取当前写入的监控数据以及历史保存的监控数据的生成吋间;
[0031] 当前写入的监控数据以及历史保存的监控数据的生成吋间是同一预设吋间段吋
, 将当前写入的监控数据和历史保存的监控数据相比较, 判断当前写入的监控 数据是否异常;
[0032] 当前写入的监控数据异常吋, 利用分布式告警机制, 对所述设备进行告警。
[0033] 在本发明实施例中, 在 Ceilometer可编程特性的基础上, 结合 Nagios的监控性 育 , 达到较广范围的监控数据采集, 此外, Ceilometer融入了 Nagios进来, 幵发 人员可以动手写监控脚本来收集数据了, 节省了维护和幵发费用, 同吋又具备 足够的灵活性, 可以根据不同需求进行设计不同的监控选项。
[0034] 实施例二 [0035] 图 2是本发明实施例提供的云计算监控方法步骤 S101的实现流程图, 详述如下
[0036] 在步骤 S201中, Nagios配置自定义监控选项;
[0037] 在步骤 S202中, 配置 Ndoutils数据库;
[0038] 在步骤 S203中, 根据配置的自定义监控选项以及扩展控件 NRPE, 定吋触发远 程主机监控脚本, 取得返回值;
[0039] 在步骤 S204中, 根据所述返回值, 生成监控数据, 将生成的监控数据写入 Ndo utils数据库。
[0040] 仞 I三
[0041] 图 3是本发明实施例提供的云计算监控方法步骤 S102的实现流程图, 详述如下
[0042] 在步骤 S301中, 监控组件 Ceilometer写入 Ndoutils数据关键表的模型;
[0043] 在步骤 S302中, 通过预配置的采集接口连接所述 Ndoutils数据库, 根据所述模 型, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilo meter数据库。
[0044] 删
[0045] 本发明实施例描述了监控数据的组成, 详述如下:
[0046] 所述监控数据包括监控主机资源数据、 监控网络服务数据、 并行服务检査机制 数据中的至少一种。
[0047] 实施例五
[0048] 本发明实施例描述了云计算监控方法步骤 S302的实现流程, 详述如下:
[0049] 通过预配置的采集接口连接所述 Ndoutils数据库, 读取并解析所述 Ndoutils数据 库中的监控主机资源数据, 将解析的监控主机资源数据写入 Ceilometer数据库。
[0050] 实施例六
[0051] 图 4是本发明实施例提供的云计算监控装置的结构框图, 该装置可以运行于电 子设备中。 为了便于说明, 仅示出了与本实施例相关的部分。
[0052] 一种云计算监控装置, 包括:
[0053] Ndoutils数据库写入模块 41, 用于网络监视工具 Nagios根据配置的自定义监控 选项, 采集设备的监控数据, 将采集到的监控数据写入 Ndoutils数据库;
[0054] Ceilometer数据库写入模块 42, 用于监控组件 Ceilometer连接所述 Ndoutils数据 库, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilo meter数据库;
[0055] 告警模块 43, 用于监控组件 Ceilometer根据当前写入的监控数据以及历史保存 的监控数据, 对所述设备进行监控。
[0056] 作为本发明实施例的一种实施方式, 在所述云计算监控装置中, 所述 Ndoutils 数据库写入模块, 包括:
[0057] 第一配置单元, 用于 Nagios配置自定义监控选项;
[0058] 第二配置单元, 用于配置 Ndoutils数据库;
[0059] 触发单元, 用于根据配置的自定义监控选项以及扩展控件 NRPE, 定吋触发远 程主机监控脚本, 取得返回值;
[0060] Ndoutils数据库写入单元, 用于根据所述返回值, 生成监控数据, 将生成的监 控数据写入 Ndoutils数据库。
[0061] 作为本发明实施例的一种实施方式, 在所述云计算监控装置中, 所述云计算监 控通路嵌入模块, 还包括:
[0062] 模型写入单元, 用于监控组件 Ceilometer写入 Ndoutils数据关键表的模型;
[0063] Ceilometer数据库写入单元, 用于通过预配置的采集接口连接所述 Ndoutils数据 库, 根据所述模型, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监 控数据写入 Ceilometer数据库。
[0064] 作为本发明实施例的一种实施方式, 在所述云计算监控装置中, 所述监控数据 包括监控主机资源数据、 监控网络服务数据、 并行服务检査机制数据中的至少 一种。
[0065] 作为本发明实施例的一种实施方式, 在所述云计算监控装置中, 所述 Ceilomete r数据库写入单元用于通过预配置的采集接口连接所述 Ndoutils数据库, 读取并解 析所述 Ndoutils数据库中的监控主机资源数据, 将解析的监控主机资源数据写入 Ceilometer数据库。
[0066] 本发明实施例提供的装置可以应用在前述对应的方法实施例中, 详情参见上述 实施例的描述, 在此不再赘述。
[0067] 实施例七
[0068] 请参考图 5, 本发明提供了一种云计算监控装置 200的示意图。 基于云计算监控 装置 200可能是包含计算能力的主机服务器, 或者是个人计算机 PC, 或者是可携 带的便携式计算机或终端等等, 本发明具体实施例并不对云计算监控装置的具 体实现做限定。 云计算监控装置 200包括:
[0069] 处理器 (processor) 210, 通信接口 (Communications Interface) 220, 存储器
(memory) 230, 总线 240。
[0070] 处理器 210, 通信接口 220, 存储器 230通过总线 240完成相互间的通信。
[0071] 通信接口 220, 用于与外界设备, 例如, 个人电脑、 服务器等通信。
[0072] 处理器 210, 用于执行程序 232。
[0073] 具体地, 程序 232可以包括程序代码, 所述程序代码包括计算机操作指令。
[0074] 处理器 210可能是一个中央处理器 CPU, 或者是特定集成电路 ASIC (Applicatio n Specific Integrated Circuit) , 或者是被配置成实施本发明实施例的一个或多个 集成电路。
[0075] 存储器 230, 用于存放程序 232。 存储器 230可能包含高速 RAM存储器, 也可能 还包括非易失性存储器 (non-volatile memory) , 例如至少一个磁盘存储器。 程 序 232具体可以包括:
[0076] 其中处理器、 通信接口、 存储器通过总线完成相互间的通信;
[0077] 所述通信接口, 用于与外界设备通信;
[0078] 所述处理器, 用于执行程序;
[0079] 所述存储器, 用于存放所述程序;
[0080] 所述程序包括:
[0081] Ndoutils数据库写入模块, 用于网络监视工具 Nagios根据配置的自定义监控选 项, 采集设备的监控数据, 将采集到的监控数据写入 Ndoutils数据库;
[0082] Ceilometer数据库写入模块, 用于监控组件 Ceilometer连接所述 Ndoutils数据库 , 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入 Ceilome ter数据库; [0083] 告警模块, 用于监控组件 Ceilometer根据当前写入的监控数据以及历史保存的 监控数据, 对所述设备进行监控。
[0084] 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述的系 统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在 此不再赘述。
[0085] 在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的 划分方式, 例如多个单元或组件可以结合或者可以集成到另一个***, 或一些 特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦 合或通信连接可以是通过一些通信接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
[0086] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
[0087] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。
[0088] 所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用吋, 可 以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案 本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产 品的形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干指令 用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 执 行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘 、 移动硬盘、 只读存储器 (ROM, Read-Only
Memory) 、 随机存取存储器 (RAM, Random Access Memory) 、 磁碟或者光盘 等各种可以存储程序代码的介质。
[0089] 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变 化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以 权利要求的保护范围为准。

Claims

权利要求书
一种云计算监控方法, 其特征在于, 包括:
网络监视工具 Nagios根据配置的自定义监控选项, 采集设备的监控数 据, 将采集到的监控数据写入 Ndoutils数据库;
监控组件 Ceilometer连接所述 Ndoutils数据库, 读取并解析所述 Ndoutil s数据库中的监控数据, 将解析的监控数据写入 Ceilometer数据库; 监控组件 Ceilometer根据当前写入的监控数据以及历史保存的监控数 据, 对所述设备进行监控。
如权利要求 1所述的云计算监控方法, 其特征在于, 所述网络监视工 具 Nagios根据配置的自定义监控选项, 采集设备的监控数据, 将采集 到的监控数据写入 Ndoutils数据库, 具体为:
Nagios配置自定义监控选项;
配置 Ndoutils数据库;
根据配置的自定义监控选项以及扩展控件 NRPE, 定吋触发远程主机 监控脚本, 取得返回值;
根据所述返回值, 生成监控数据, 将生成的监控数据写入 Ndoutils数 据库。
如权利要求 1所述的云计算监控方法, 其特征在于, 所述监控组件 Cei lometer连接所述 Ndoutils数据库, 读取并解析所述 Ndoutils数据库中的 监控数据, 将解析的监控数据写入 Ceilometer数据库, 具体为: 监控组件 Ceilometer写入 Ndoutils数据关键表的模型;
通过预配置的采集接口连接所述 Ndoutils数据库, 根据所述模型, 读 取并解析所述 Ndoutils数据库中的监控数据, 将解析的监控数据写入
Ceilometer数据库。
如权利要求 3所述的云计算监控方法, 其特征在于, 所述监控数据包 括监控主机资源数据、 监控网络服务数据、 并行服务检査机制数据中 的至少一种。
如权利要求 4所述的云计算监控方法, 其特征在于, 所述当所述监控 数据为监控主机资源数据吋, 所述通过预配置的采集接口连接所述 N doutils数据库, 根据所述模型, 读取并解析所述 Ndoutils数据库中的 监控数据, 将解析的监控数据写入 Ceilometer数据库, 具体为: 通过预配置的采集接口连接所述 Ndoutils数据库, 读取并解析所述 Nd outils数据库中的监控主机资源数据, 将解析的监控主机资源数据写 入 Ceilometer数据库。
[权利要求 6] —种云计算监控装置, 其特征在于, 包括:
Ndoutils数据库写入模块, 用于网络监视工具 Nagios根据配置的自定 义监控选项, 采集设备的监控数据, 将采集到的监控数据写入 Ndoutil s数据库;
Ceilometer数据库写入模块, 用于监控组件 Ceilometer连接所述 Ndoutil s数据库, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监 控数据写入 Ceilometer数据库;
告警模块, 用于监控组件 Ceilometer根据当前写入的监控数据以及历 史保存的监控数据, 对所述设备进行监控。
[权利要求 7] 如权利要求 6所述云计算监控装置, 其特征在于, 所述 Ndoutils数据库 写入模块, 包括:
第一配置单元, 用于 Nagios配置自定义监控选项; 第二配置单元, 用于配置 Ndoutils数据库;
触发单元, 用于根据配置的自定义监控选项以及扩展控件 NRPE, 定 吋触发远程主机监控脚本, 取得返回值;
Ndoutils数据库写入单元, 用于根据所述返回值, 生成监控数据, 将 生成的监控数据写入 Ndoutils数据库。
[权利要求 8] 如权利要求 6所述云计算监控装置, 其特征在于, 所述云计算监控通 路嵌入模块, 还包括:
模型写入单元, 用于监控组件 Ceilometer写入 Ndoutils数据关键表的模 型;
Ceilometer数据库写入单元, 用于通过预配置的采集接口连接所述 Nd outils数据库, 根据所述模型, 读取并解析所述 Ndoutils数据库中的监 控数据, 将解析的监控数据写入 Ceilometer数据库。
如权利要求 8所述云计算监控装置, 其特征在于, 所述监控数据包括 监控主机资源数据、 监控网络服务数据、 并行服务检査机制数据中的 至少一种。
如权利要求 9所述云计算监控装置, 其特征在于, 所述 Ceilometer数据 库写入单元用于通过预配置的采集接口连接所述 Ndoutils数据库, 读 取并解析所述 Ndoutils数据库中的监控主机资源数据, 将解析的监控 主机资源数据写入 Ceilometer数据库。
一种云计算监控装置, 其特征在于, 所述云计算监控装置包括: 处理 器, 通信接口, 存储器和总线;
其中处理器、 通信接口、 存储器通过总线完成相互间的通信; 所述通信接口, 用于与外界设备通信;
所述处理器, 用于执行程序;
所述存储器, 用于存放所述程序;
所述程序包括:
Ndoutils数据库写入模块, 用于网络监视工具 Nagios根据配置的自定 义监控选项, 采集设备的监控数据, 将采集到的监控数据写入 Ndoutil s数据库;
Ceilometer数据库写入模块, 用于监控组件 Ceilometer连接所述 Ndoutil s数据库, 读取并解析所述 Ndoutils数据库中的监控数据, 将解析的监 控数据写入 Ceilometer数据库;
告警模块, 用于监控组件 Ceilometer根据当前写入的监控数据以及历 史保存的监控数据, 对所述设备进行监控。
PCT/CN2016/091857 2015-12-23 2016-07-27 一种云计算监控方法及装置 WO2017107484A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510979474.X 2015-12-23
CN201510979474.XA CN105610643B (zh) 2015-12-23 2015-12-23 一种云计算监控方法及装置

Publications (1)

Publication Number Publication Date
WO2017107484A1 true WO2017107484A1 (zh) 2017-06-29

Family

ID=55990188

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/091857 WO2017107484A1 (zh) 2015-12-23 2016-07-27 一种云计算监控方法及装置

Country Status (2)

Country Link
CN (1) CN105610643B (zh)
WO (1) WO2017107484A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610643B (zh) * 2015-12-23 2019-01-25 深圳市华讯方舟软件技术有限公司 一种云计算监控方法及装置
CN106100902B (zh) * 2016-08-04 2020-04-03 腾讯科技(深圳)有限公司 云端指标监控方法和装置
CN106961367A (zh) * 2017-05-19 2017-07-18 济南浪潮高新科技投资发展有限公司 基于openstack的云资源监控***和方法
CN107391343A (zh) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 一种性能监控***及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130297603A1 (en) * 2012-05-01 2013-11-07 Fujitsu Technology Solutions Intellectual Property Gmbh Monitoring methods and systems for data centers
CN103905253A (zh) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 一种基于Nagios和BMC的服务器监控管理方法
CN103905234A (zh) * 2012-12-28 2014-07-02 北京友友天宇***技术有限公司 提高分布式***中资源可用性的方法及***
CN104063301A (zh) * 2014-07-02 2014-09-24 网神信息技术(北京)股份有限公司 监控方法和装置
CN104657215A (zh) * 2013-11-19 2015-05-27 南京鼎盟科技有限公司 云计算中虚拟化节能***
CN105610643A (zh) * 2015-12-23 2016-05-25 深圳市华讯方舟软件技术有限公司 一种云计算监控方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220167B (zh) * 2013-03-25 2016-08-03 中标软件有限公司 一种分布式监控***及其数据存储方法
CN104679574A (zh) * 2013-11-26 2015-06-03 谢蓉 云计算中虚拟机镜像管理***
CN104820633B (zh) * 2015-05-29 2019-03-19 北京奇虎科技有限公司 计算设备的监控方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130297603A1 (en) * 2012-05-01 2013-11-07 Fujitsu Technology Solutions Intellectual Property Gmbh Monitoring methods and systems for data centers
CN103905234A (zh) * 2012-12-28 2014-07-02 北京友友天宇***技术有限公司 提高分布式***中资源可用性的方法及***
CN104657215A (zh) * 2013-11-19 2015-05-27 南京鼎盟科技有限公司 云计算中虚拟化节能***
CN103905253A (zh) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 一种基于Nagios和BMC的服务器监控管理方法
CN104063301A (zh) * 2014-07-02 2014-09-24 网神信息技术(北京)股份有限公司 监控方法和装置
CN105610643A (zh) * 2015-12-23 2016-05-25 深圳市华讯方舟软件技术有限公司 一种云计算监控方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GAURAV, RAJ ET AL.: "Comparative Cloud Deployment and Service Orchestration Process Using Juju Charms", INTERNATIONAL JOURNAL OF ENGINEERING AND TECHNOLOGY (IJET, vol. 5, 31 May 2013 (2013-05-31), pages 2, XP055598726, ISSN: 0975-4024 *

Also Published As

Publication number Publication date
CN105610643B (zh) 2019-01-25
CN105610643A (zh) 2016-05-25

Similar Documents

Publication Publication Date Title
US10997092B2 (en) Enabling out-of-band hardware management via an in-band communications channel
WO2017107484A1 (zh) 一种云计算监控方法及装置
CN106445528B (zh) 一种快速配置bios的setup选项的方法及装置
CN104199706A (zh) 一种eMMC的固件升级方法及其设备
CN103777979B (zh) 一种通过云端来刷写bios的方法及装置
WO2021238350A1 (zh) 更新配置文件的方法、设备及存储介质
CN106502814B (zh) 一种记录pcie设备错误信息的方法及装置
TW202034665A (zh) 修改區塊鏈網路配置的方法及系統
CN111008211B (zh) 可视化接口的创建方法、装置、可读存储介质及电子设备
CN105338550B (zh) 一种用于无线网络的连接的管理方法和装置
CN101499002A (zh) 一种生成接口文档的方法、***和装置
CN104754032A (zh) 一种部署OpenStack的方法及装置
US10833914B2 (en) Device or vendor independent network switch management via embedded management controller stack
WO2022132221A1 (en) Storage system with encrypted data storage device telemetry data
CN109857466A (zh) Bios配置方法、装置、服务器及计算机可读存储介质
CN106406952A (zh) 电子终端及应用程序管理装置与方法
CN112055062A (zh) 数据通信方法、装置、设备及可读存储介质
CN110661665A (zh) 基于物联网云平台的告警方法、计算机存储介质及设备
CN106921547B (zh) 管理设备的装置和方法
US10129184B1 (en) Detecting the source of link errors in a cut-through forwarding network fabric
CN110399150A (zh) 一种bios升级方法、***、装置及计算机存储介质
TW201617777A (zh) 電子裝置及其喚醒方法
CN109558300B (zh) 一种整机柜告警处理方法、装置、终端及存储介质
CN108595169B (zh) 一种可视化编程方法、云端服务器及存储介质
CN206313784U (zh) 一种加密机测试***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877296

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877296

Country of ref document: EP

Kind code of ref document: A1