AODH: ALARM EVENTS IN OPENSTACK
AODH是从Ceilometer分离出来的一个子项目,开始于OpenStack Liberty,用来提供alarm机制。
除了之前Ceilometer有的基于sample的警报机制,AODH还添加了基于事件的警报机制,使得警报可以实时。
SETUP
To configure devstack to use Aodh
Add the following to your local.conf or localrc file:
# Enable Aodh alarm service
enable_plugin aodh git://git.openstack.org/openstack/aodh
enable_service aodh-evaluator aodh-notifier aodh-api
disable_service Ceilometer-alarm-notifier Ceilometer-alarm-evaluator
To configure listening on the alarm topic
Check all event-alarms, filter events in the “alarm.all” topic, and configure the same to listen for alarm events. In addition, add the following line, post the original notifier, to your /etc/Ceilometer/event_pipeline.yaml:
- notifier://?topic=alarm.all
- notifier://
Or add the following in the devstack local.conf or localrc:
CEILOMETER_EVENT_ALARM=True
This config is honored by devstack only when Ceilometer is configured as a plugin in the devstack local.conf
enable_plugin Ceilometer git://git.openstack.org/openstack/Ceilometer
To install AODH-supported Ceilometer client
First, you must ensure you are using a Python-Ceilometer client that is at least version 1.5.0. To check the version, do the following:
$ pip show Python-Ceilometerclient
---
Metadata-Version: 2.0
Name: Python-Ceilometerclient
Version: 1.5.0
Summary: OpenStack Telemetry API Client Library
To update it:
$ pip uninstall Python-Ceilometerclient
$ pip install Python-Ceilometerclient
ALARM EVENT DEFINITION
To generate an alarm event when an image is updated assume the image resource id is 9a8fec25-1ba6-4170-aa44-5d72f17c07f6 and we are interested in updates to the same.
$ Ceilometer -d alarm-event-create --name event_alarm1 --alarm-action 'log://' --event-type image.update -q 'traits.resource_id=string::9a8fec25-1ba6-4170-aa44-5d72f17c07f6'
Then, use following to trigger an “image.update” event:
nova image-meta cirros-0.3.4-x86_64-uec-ramdisk set progress=104
Watch the devstack screen window: aodh-notifier to capture the firing of the event alarm.
For more information, please see the following
1. Blueprint: https://blueprints.launchpad.net/Ceilometer/+spec/event-alarm-evaluator
2. Spec: http://specs.openstack.org/openstack/Ceilometer-specs/specs/liberty/event-alarm-evaluator.html
3. Docs: http://docs.openstack.org/developer/aodh/index.html
4. Demo: https://drive.google.com/a/intel.com/file/d/0BxzNz3_8jMMIa21NOUVGaXoyem8/view
5. Open issues: https://review.openstack.org/#/q/status:open+project:openstack/aodh,n,z
6. AODH name: http://www.behindthename.com/name/aodh
AODH: ALARM EVENTS IN OPENSTACK的更多相关文章
- setup notifier actions in aodh alarm
Aodh alarm NOTIFIER ==> alarm_actions URL: http://<host>/<action> NOTIFIER will resol ...
- OpenStack Q版本新功能以及各核心组件功能对比
OpenStack Q版本已经发布了一段时间了.今天, 小编来总结一下OpenStack Q版本核心组件的各项主要新功能, 再来汇总一下最近2年来OpenStack N.O.P.Q各版本核心组件的主要 ...
- 安装aodh
在控制节点上执行 #!/bin/bash MYSQL_ROOT_PASSWD='m4r!adbOP' GNOCCHI_PASSWD='gnocchi1234!' CEILOMETER_PASSWD=' ...
- OPC协议解析-OPC客户端与服务器通讯解析
1 OPC服务器 OPC服务器, 是指按照OPC基金组织规定的OPC规范群开发的软件驱动.OPC服务器作为中间媒介负责从数据源读取数据再跟另外一端的客户端通信.在 OPC客户端/服务器 的结 ...
- 如何做好Puppet Modules管理
如何做好Puppet Modules管理 不同于其他的Openstack项目,puppet modules是一个数量庞大的存在.以我们当前在使用中的puppet modules为例,就已经多达96个( ...
- Analysis of requirement specification of parking management system
Analysis of requirement specification of parking management system PURPOSE OF THE SYSTEM The parking ...
- aodh M版本新特性 - queue between alarm evaluator and alarm notifier
之前alarm evaluator service and alarm notifier services之间的通信采用RPC的方式,消耗较大,增加work queue的方式可以获得更好的性能, + ...
- 探索 OpenStack 之(16):计量模块 Ceilometer 介绍及优化
0. 背景 0.1 为什么要有 Ceilometer? 通常云,特别是公有云在计费方面有三个层次: 计量 (Metering): 收集资源的使用数据,其数据信息主要包括:使用对象(what), 使用者 ...
- openstack Icehouse发布
OpenStack 2014.1 (Icehouse) Release Notes General Upgrade Notes Windows packagers should use pbr 0.8 ...
随机推荐
- JavaScript处理数据完成左侧二级菜单的搭建
我们在项目中应用的后台管理框架基本上都是大同小异,左侧是一个二级菜单,点击选中的菜单,右侧对应的页面展示.我把前端页面封装数据的过程整理了一下,虽然不一定适合所有的管理页面,仅作为案例来参考,只是希望 ...
- Linux 下安装svn
安装步骤如下: 1.yum install subversion 2.输入rpm -ql subversion查看安装位置,如下图: 我们知道svn在bin目录下生成了几个二进制文件. 输入 ...
- influxDB---Data Exploration
the group clause group by 返回的分组结果是根据用户指定的tag ,time interval. 1.group by tags 2.group by time interva ...
- 计算属性 vs 侦听属性 当需要在数据变化时执行异步或开销较大的操作时,这个方式是最有用的
https://cn.vuejs.org/v2/guide/computed.html#基础例子 计算属性 vs 侦听属性 Vue 提供了一种更通用的方式来观察和响应 Vue 实例上的数据变动:侦听属 ...
- 0402-服务注册与发现-Eureka Server使用、将服务注册到Eureka server上
一.Eureka Server使用 官方文档地址:http://cloud.spring.io/spring-cloud-static/Edgware.SR3/single/spring-cloud. ...
- python常用模块——logger模块
python的logging模块提供了通用的日志系统,熟练使用logging模块可以方便开发者开发第三方模块或者是自己的python应用. python使用logging模块记录日志涉及四个主要的类: ...
- 2015.7.7——跌停板做T,就算要搏跌停反弹也要看卖一档压力啊
1.今天中色股份和以往不同买卖盘为正!————今天要重新观察这种新常态下的盘面运作 是否会出现如2015.7.6中描述的“前期错过了皮城中的黄金买点,...其实只要买卖盘为负,后期还会有再次尝试该低点 ...
- [不常用] - CSRF(跨站点请求伪造)
CSRF,Cross Site Request Forgery,即跨站点请求伪造. 这种攻击是指,在用户正常登录系统以后,攻击者诱使用户访问一些非法链接,以执行一些非法操作. 比如:如果删除用户操 ...
- Linux yum源码包安装和卸载
Linux 下的绝大多数源码包都是用 C 语言编写的,还有少部分是用 C++ 等其他程序语言编写的.所以,要想安装源码包,必须安装 C 语言编译器 gcc(如果是用 C++ 编写的程序,则还需要安装 ...
- The Collections Module内建collections集合模块
https://www.bilibili.com/video/av17396749/?p=12 Python函数式编程中的迭代器,生成器详解 课程内容 1.iterators are objects ...