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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
监控反模式
|
11
监控都应该是自动化的。
在没有自动化的情况下构建良好监控的基础设施和应用程序是非常困难的。经常有人向我
咨询关于监控实现的问题,大多数情况下,这些团队花在配置上的时间比花在监控上的
多。如果无法快速配置新的检查项或节点,那么构建更好的监控就会变得令人沮丧。一段
时间后,你就不再烦心了。但是,如果只需花几分钟就可以为服务器群中的每个
Web
服务
器添加新的检查项,那么你就不会犹豫再去配置更多的检查项。
滥用操作手册
第
3
章会详细讨论操作手册,这里特别提醒:操作手册常常是自动化程度不足的一个
表现。如果操作手册仅仅是一个执行步骤列表(“运行这条命令,检查那个信息,运行
另一条命令”),那么你需要更多的自动化。如果操作手册中引用的告警可以通过简单
地执行一系列步骤来解决,那么考虑自动化那些步骤,并让监控工具在给你发出告警
之前执行它们。
1.6
 小结
本章介绍了监控领域中
5
种常见的反模式:
•
沉迷工具不会带来更好的监控;
•
监控是所有人的任务,而不是团队或部门中单独一个人的;
•
杰出的监控远远不止在“嗯,我们有监控”的方框中打钩那么简单;
•
监控无法修复故障;
•
缺乏自动化,你就一定会错过重要事情。
既然知道应该注意哪些监控反模式以及如何纠正这些问题,你就可以养成良好的监控习
惯。如果你在你的环境中不做别的,只是修复这
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

Java数据科学实战

Java数据科学实战

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

可编程网络自动化

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

精通模块化JavaScript

Nicolás Bevacqua

Publisher Resources

ISBN: 9787115550750