假设已经安装好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
#!/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
1.安装sersync sersync详细介绍请看http://hi.baidu.com/johntech/item/a4a2060ecf3053c6905718e1 sersync下载地址http://code.google.com/p/sersync/downloads/list tar xf sersync2.5.4_64bit_binary_stable_fin
1.rsync特性 可以镜像保存整个目录树和文件系统 可以增量同步数据,文件传输效率高,同步时间短 可以保持原有文件的权限、时间等属性 可以通过ssh加密传输 支持匿名传输 2.利用rsync搭建远程备份系统 a:192.168.21.132(rsync服务器) b:192.168.21.131(客户端) 配置服务端(a机器): vim /etc/rsyncd.conf &n
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号