涛子 - 简单就是美

成单纯魁增,永继振国兴,克复宗清政,广开家必升

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 44 下一页

2015年7月29日

摘要: ####documenthttp://iwantmyreal.name/blog/2012/09/16/visualising-conair-data-with-cubism-dot-jshttps://hveem.no/vm-monitoring-using-salt-and-cubismhttp... 阅读全文
posted @ 2015-07-29 10:23 北京涛子 阅读(1019) 评论(1) 推荐(0)

2015年7月27日

摘要: kubernetes docker -> paasopenstack opennebula -> iaas 阅读全文
posted @ 2015-07-27 15:34 北京涛子 阅读(165) 评论(0) 推荐(0)

摘要: http://influxdb-python.readthedocs.org/en/latest/####api接口,返回数组```python#!/usr/bin/env python# -*- encoding: utf-8 -*-import jsonimport yamlfrom flask... 阅读全文
posted @ 2015-07-27 11:30 北京涛子 阅读(3004) 评论(0) 推荐(0)

2015年7月24日

摘要: ####功能访问远程交换机snmp数据,写入本地influxdb数据库```python#!/usr/bin/env python# -*- encoding: utf-8 -*-import os, yaml, timeimport cPickle as pickleimport threadin... 阅读全文
posted @ 2015-07-24 17:21 北京涛子 阅读(746) 评论(0) 推荐(0)

摘要: ```pythonimport threadingimport timeimport loggingimport randomimport Queuelogging.basicConfig(level=logging.DEBUG, format='(%(thre... 阅读全文
posted @ 2015-07-24 17:12 北京涛子 阅读(216) 评论(0) 推荐(0)

2015年7月22日

摘要: 使用thread和threading这两个模块.threading模块是对thread做了一些包装的,可以更加方便的被使用,所以我们使用threading模块实现多线程编程。使用线程有两种模式:1)创建线程要执行的函数,把这个函数传递进Thread对象里,让它来执行;2)直接从Thread继承,创建... 阅读全文
posted @ 2015-07-22 14:32 北京涛子 阅读(201) 评论(0) 推荐(0)

2015年7月21日

摘要: ####installyum install python-pysnmpyum install python-pyasn1or pip install pysnmppip install pyasn1####documenthttp://ports.gnu-darwin.org/net-mgmt/p... 阅读全文
posted @ 2015-07-21 11:29 北京涛子 阅读(948) 评论(0) 推荐(0)

2015年7月20日

摘要: ####installyum -y install PyYAML####documenthttp://www.showyounger.com/show/101586.htmlhttp://pyyaml.org/wiki/PyYAMLDocumentation####yaml.load() 将yaml... 阅读全文
posted @ 2015-07-20 17:05 北京涛子 阅读(427) 评论(0) 推荐(0)

2015年7月16日

摘要: doc https://collectd.org/wiki configure https://github.com/collectd/collectd/issues/610 /usr/share/collectd/types.db 1个端口 所有端口 push dat... 阅读全文
posted @ 2015-07-16 15:36 北京涛子 阅读(979) 评论(0) 推荐(0)

摘要: ####文档https://influxdb.com/docs/v0.9/introduction/overview.html####配置文件/etc/opt/influxdb/influxdb.conf```bashreporting-disabled = false[meta] dir = "... 阅读全文
posted @ 2015-07-16 10:11 北京涛子 阅读(1016) 评论(0) 推荐(0)

上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 44 下一页