Skip to Content
监控运维实践:原则与策略
book

监控运维实践:原则与策略

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
13
第 2 章
监控设计模式
上一章我们知道了为何好心也能办坏事。我肯定不奢望你读到这一章时就已经解决了环境
中的所有问题,没有解决也没关系。既然你现在能够记住那些反模式并尝试解决它们,我
想你应该需要新的解决方案来处理这些问题。
本章通过呈现
4
种设计模式来回答这些问题,如果能严肃对待并积极实践这些设计模式,
那你的监控就可以高枕无忧了。接下来进入正题。
2.1
 设计模式
1
:
可组合监控
可组合监控
是现代监控设计的第一种模式。原则很简单:使用多个专门的工具并且将它们
松散地组合在一起以形成一个监控“平台”。这种模式和你熟悉的很多一体化工具(特别
是其中的代表
Nagios
)正好相反。可组合监控可以视为
UNIX
理念的一种实践。
编写专注于一件事并能将其做好的程序;编写互相协作的程序。
——
Doug McIlroy
早在
2011
年,在
Twitter
的
#monitoringsucks
(监控糟糕透了)标签下,就展开过关于为何
监控如此糟糕的讨论。随后,其发展成
#monitoringlove
(监控热爱)的标签,并且成为在
波士顿举办的
Monitorama
会议的基础。我们讨论了许多关于如何改善糟糕的监控的话题,
发现最重要的是要有更好、更新以及更多专门的工具。可组合监控就在那时应运而生,并
且发展成实践中的事实标准。随着
Graphite
、
Sensu
、
logstash
以及
collectd
等工具的兴起,
我们发现,尝试将专门的工具进行整合就可以得到更灵活、更轻松的监控栈。甚至对于商
14
|
第
2
章
业化的监控服务,例如
Librato ...
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

Java数据科学实战

Java数据科学实战

Michael R. Brzustowicz, PhD
可编程网络自动化

可编程网络自动化

Jason Edelman, Scott S. Lowe, Matt Oswalt
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115550750