假设已经安装好graphite1.在客户端上安装collectd,collectd-5.4.0.tar.bz2 执行./configure,make,make install 安装,默认安装位置是/opt/collectd注意:要确保python插件在编译后是yes的。2.安装graphite插件collectd-carbongit clone https://github.com/indygre
初学graphite,我想把统计的连接数以图的形式展现出来,由于连接数的种类的不止一种,所以不能用简单的nc发送,需要发送给carbon。参考官网http://graphite.readthedocs.org/en/latest/feeding-carbon.html改了下example-client.pyimport sys import time import
今天在使用fabric模块时,报出一个错误:from Crypto.Util.number import ceil_shift, exact_log2, exact_div File "/usr/lib/python2.6/site-packages/Crypto/Util/number.py", line 56, in <module> if _fastmath is
#!/bin/sh src_dir=/usr/src start_time(){ start_time="$(date +%s)" echo -e "\033[35;1m$(date) Start install!\033[0m" } end_time(){ end_time="$(date +%s)" total_s=$(($end_time - $start_time)) t
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号