Skip to Content
Graphite监控
book

Graphite监控

by Jason Dixon
October 2020
Intermediate to advanced
261 pages
5h 32m
Chinese
Publishing House of Electronics Industry
Content preview from Graphite监控
66
4
构建你的第一个
Graphite
服务器
启动你的
Carbon
守护进程
现在,你的配置目录中至少应该有
carbon.conf
storage-schemas.conf
两个配置文件(
/opt/
graphite/storage/conf
,如果你按照我的说明操作)。你还创建了一个专门的用户来运行
Carbon
守护进程,并相应地准备好了存储和日志目录。我们终于准备好启动
Carbon
务了。
如果你像前面介绍的那样配置了单个
carbon-cache
实例,那么启动该实例非常简单
$ sudo -E carbon-cache.py --instance=1 start
许多在线示例使用字母来区分实例(
a
b
c
等)。但是,我建议使用数字来标识你的守
护进程实例。当你需要管理一系列进程时,此模式更容易编写脚本或实现自动化。假设
我们已经增加了缓存进程数量来处理预期的流量高峰,一次性启动它们就像下面一样简
单:
$ for i in `seq 8`; do sudo -E carbon-cache.py --instance=${i} start; done
Starting carbon-cache (instance 1)
Starting carbon-cache (instance 2)
Starting carbon-cache (instance 3)
Starting carbon-cache (instance 4)
Starting carbon-cache (instance 5)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

写给系统管理员的Python脚本编程指南

写给系统管理员的Python脚本编程指南

Posts & Telecom Press, Ganesh Sanjiv Naik
弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
精通機器學習

精通機器學習

Aurélien Géron

Publisher Resources

ISBN: 9787121395154