custom repo apt: pkg=python-pycurl state=present - name: enable carbon copy: dest=/etc/default/graphite-carbon : restart apache - name: configure wsgi file: path=/etc/apache2/wsgi state=directory 上边的配置描述了安装graphite-carbon
Graphite 官网: https://graphiteapp.org/ 安装 sudo apt-get install graphite-web graphite-carbon 配置 Graphite
users:(("replication-man",pid=3707764,fd=10)) 端口说明: 10001 admin-web管理界面端口 其余大部分都是graphite-carbon
只需要一些简单的配置,然后结合一个命令行应用,整个过程就可以自动化起来了: 上边的配置描述了安装graphite-carbon,配置apahce等很多手工的劳动,开发者现在只需要执行: 就可以将整个过程自动化起来