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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
37
第 4 章
统计入门
在软件工程和系统管理领域,人们往往低估了统计的作用。多年来,与我交谈过的许多人
有这样的误解,即“在它上面修改一点统计数据”将导致另一端发生不可预见的事情。不
幸的是,事实并非如此。
但是,很高兴告诉你,统计学的基本课程简单易懂,对监控工作也非常有用。
4.1
 在系统运行统计之前
在学习统计课程之前,先了解一些背景知识是很有帮助的。
恐怕
Nagios
的流行和影响阻碍了许多团队对监控的改进。使用
Nagios
设置告警非常简单,
但常常没用。
1
如果希望使用
Nagios
对某些指标发出告警,那实际上就是在将当前值与已经被设置为警告
阈值或临界阈值的另一个值进行比较。例如,假设对于
15
分钟的平均负载,返回值是
5
。
检查脚本会将该值与警告值或临界值(可能分别是
4
和
10
)进行比较。在这种情况下,
Nagios
会因为检查结果超过了警告值而发出告警,这在预料之中。但不幸的是,这并没有
什么太大用处。
正如经常发生的那样,系统能够以意想不到的(但完全正确的)方式运行。例如,如果指
标超过阈值的情况只是单一事件呢?如果
60
秒后的下一次检查所返回的值是
3.9
呢?然后
注
1
:
并不是要指责
Nagios
,只是
Nagios
因其影响力,成了许多工具的预期标准。
还有很多其他的工具也
有同样的问题。
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
深度學習|內行人的做法

深度學習|內行人的做法

Josh Patterson, Adam Gibson

Publisher Resources

ISBN: 9787115550750