1. 物理server配置

1.1安装

參考 http://blog.csdn.net/qq_21398167/article/details/47019751

1.2      配置

关闭selinux和防火墙

#setenforce 0

#vi /etc/sysconfig/selinux

 改动为:SELINUX=disabled

2. 在Ceilometer中測试

加入一个已存在的meter

2.1在pipline.yaml新增meter

添加一个内存meter,/etc/ceilometer/pipline.yaml

- name: hardware_memory_source
interval: 60
meters:
- "hardware.memory.*"
resources:
- snmp://172.16.1.212
sinks:
- meter_sink

2.2重新启动ceilometer

#systemctl restart openstack-ceilometer-central.service

2.3 获取meter

#ceilometer meter-list | grep hardware

#ceilometer sample-list -m hardware.memory.total

演示样例

+--------------+-----------------------+-------+-------------+------+---------------------+

| Resource ID  | Name                  | Type  | Volume      | Unit | Timestamp           |

+--------------+-----------------------+-------+-------------+------+---------------------+

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T03:41:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T03:31:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T03:21:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T03:11:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T03:01:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T02:51:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T02:41:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T02:31:10 |

| 172.16.1.212 | hardware.memory.total | gauge | 198293684.0 | B    | 2014-12-05T02:21:10 |

+--------------+-----------------------+-------+-------------+------+---------------------+

最新文章

  1. xss和csrf攻击
  2. ASP.NET MVC5 网站开发实践(一) - 项目框架
  3. Java - NIO
  4. 炉石传说 C# 开发笔记(BS模式Demo)
  5. vim常用命令汇总
  6. Redis - 介绍及安装
  7. Linkedlist,arrayDeque,HashMap,linkedHashMap
  8. Mysql笔记——DCL
  9. ntelliJ IDEA 14 注册码
  10. PowerDesigner导出表到word
  11. 纯css3实现的动画加载条
  12. linux中的等待队列
  13. UILocalNotification本地通知
  14. underscorejs-reject学习
  15. C++中delete 和delete[]的区别
  16. Python高级之Socket 探索(五)
  17. 6最好的之一 HTML5/CSS3 演示(PPT)框架
  18. 解决打包时出现的Failed to verify bitcode
  19. ajax参数传递与后台接收
  20. 解决'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '

热门文章

  1. Python爬虫-代理池-爬取代理入库并测试代理可用性
  2. 给Django中的url起名字
  3. 杭电 2647 Reward (拓扑排序反着排)
  4. 「BZOJ1537」Aut – The Bus(变形Dp+线段树/树状数组 最优值维护)
  5. ES6(对象扩展)
  6. [AI开发]基于DeepStream的视频结构化解决方案
  7. 77. Spring Boot Use Thymeleaf 3【从零开始学Spring Boot】
  8. SPOJ DCEPC11I
  9. @JoinColumn 匹配关联多个字段
  10. LCA 在线倍增法 求最近公共祖先