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 ...
随机推荐
- maven仓库添加本地jar
一.将jar添加到本地仓库的做法: 以下面pom.xml依赖的jar包为例: 实际项目中pom.xml依赖写法: <dependency> <groupId>org.sprin ...
- python系列二:python3基本数据类型
#标准数据类型——number(数字)a, b, c = 1, 2.2, "hello"print(a, end = ", ")print(b, end = & ...
- Delphi运算符及优先级
单目运算符 (最高优先级) @ 取变量或函数的地址(返回一个指针) not 逻辑取反或按位取反 乘除及按位运算符 * 相乘或集合交集 / 浮点相除 div 整数相除 mod 取模 (整数相除的余数) ...
- Unity字体文件放Resources和打成ab对比
情况一:公共字体打成ab的时候,加载A界面的时候加载了font的ab,卸载A和font的ab后,接着加载B界面,加载了font的ab,卸载B和font的ab,这时候字体对应的asset会在内存里有两份 ...
- 【Nginx】HTTP请求的11个处理阶段
Nginx将一个HTTP请求分成多个阶段.以模块为单位进行处理.这样做的优点是使处理过程更加灵活.减少耦合度.HTTP框架将处理分成了11个阶段,各个阶段能够包括随意多个HTTP模块并以流水线的方式处 ...
- 深度学习:Keras入门(一)之基础篇(转)
转自http://www.cnblogs.com/lc1217/p/7132364.html 1.关于Keras 1)简介 Keras是由纯python编写的基于theano/tensorflow的深 ...
- LVC函数重要参数 EDT_CLL_CB:退出可编辑单元格时回调
6. I_GRID_SETTINGS 参数属性该参数用于设置Grid相关参数(打印.单元格回调):类型为:LVC_S_GLAY,该结构包括:01) COLL_TOP_P:最小化 TOP_OF_PAGE ...
- net-snmp配置文件snmp.conf
master agentxagentaddress UDP:161sysLocation locationsysContact test@example.comsysName TestsysObjec ...
- 利用onresize使得div可以随着屏幕大小而自适应的代码
原文:http://www.jb51.net/article/21831.htm 当我们让div居中时候,一般有两种方法,一种是固定左右宽度,也就是使用像素绝对定位:另一种是用百分比来相对定位,在这种 ...
- iOS 几种常用的 crash log 崩溃信息调试方法
前言:crash log 对 定位崩溃问题 ,并且不容易复现,尤其是及时对appstore 上正在运营的 app 的迭代改进来说 非常重要. 1 crash两种情况 1.1 测试环境下 追踪bug 1 ...