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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
网络监控
|
99
延迟是高速公路的长度。无论在高速公路上设置了多少车道,你都不会改变行驶的时间。
高速公路上发生的事情是难以预测的,从车祸到有人在车流中意外停车而导致交通堵塞。
抖动是在高速公路上行驶所需要的正常时间,如果它是不可预测的,那就是高度抖动。
如果高速公路一直是满负荷状态,那从
A
点到达
B
点就会花更长的时间。要是出现错误
(变慢和崩溃),那你也许能够通过添加另一个车道来解决问题,但这显然有局限性,因为
能建立的高速公路规模有限,更不用说这样做的成本了。有时如果根本没有出现错误,交
通运行顺畅,那你就已经获得了完美的利用率。
9.1.6
 接口和日志
设备的
syslog
还包含有关接口正在做什么的信息,如果正在使用配置跟踪工具,那你也可
以从该工具中获得这些信息。尤其要注意以下事件:
• trunk
端口的变更;
•
因错误被禁用的端口;
•
链接聚合接口变成绑定或非绑定状态。
9.1.7
 要点总结
以下是我的经验:对上行链接和服务器使用的接口进行监控和告警。这取决于你是否觉得
有必要在所有设备(台式机和笔记本计算机)上监控访问端口,但我通常不会自寻烦恼,
因为访问端口是嘈杂的,并且经常翻转,所以无法提供很多有用的信息。不要忘记聚合端
口,它们适合保持跟踪。
9.2
 配置跟踪
跟踪网络设备的配置更改能够产生很大的影响。有多少次在你的网络中发生了事件,然后
你发现这是由于某人在上周做了一个更改而没有人知道?
像
RANCID
这样的工具可以通过只读账户登录设备,下载配置并将其放入版本控制系统。
由于版本控制,配置更改会随着时间的变化而被存储。每次配置更改时 ...
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