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

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

by Mike Julian
November 2020
Intermediate to advanced
142 pages
3h 12m
Chinese
Posts & Telecom Press
Content preview from 监控运维实践:原则与策略
服务器监控
|
81
唯一的例外是负载是一个相当不错的
代理指标
。也就是说,不正常的负载指标常常预示着
存在其他问题(尽管有时候不是这么回事)。
总之,我认为任何事都依赖负载指标是浪费时间。
8.2
 
SSL
证书
我相信每个阅读本书的人都曾有过过期的
SSL
证书,但当时没有意识到,直到一切都太迟
了。这很糟糕,但它确实会发生。
监控
SSL
证书很简单:你只想知道它们还有多久会过期,以及是否有某种机制会提前通
知你。
我找到了一些解决这个问题的好方法。
•
许多域注册机构和证书颁发机构(
CA
)能够监控
SSL
证书并在到期前通知你(如果你
是通过它们来购买的证书)。这是最容易实现的方法。其缺点是它们经常通过电子邮件
通知你,而这意味着你可能会错过它。另一个缺点是你只会检查证书本身,而不去检查
使用证书的位置,这对于可能安装在十几个位置的通配符证书来说尤其是个问题。如果
告警只能通过电子邮件发送,那么建议将其发送到工单系统,这样你就会收到一个打开
的工单,而不是让告警尘封在收件箱中。
•
如果
SSL
证书在外部使用,那你可以使用外部站点监控工具(例如
Pingdom
和
StatusCake
)
来检查证书是否过期并发出告警。这样的工具具有我们想要的灵活性,但缺点是它们不
能监控任何不能公开访问的东西(例如内部服务)。
•
如果有很多内部使用的
SSL
证书,那就只剩下一个选择:使用内部监控工具来检查和
报告证书。我还没有找到任何好工具,但是一个定期运行并向监控系统或工单系统报告
的简单
shell
脚本工作得相当好。许多内部监控系统也具有监控证书过期的能力。 ...
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