Skip to Content
入門 監視 ―モダンなモニタリングのためのデザインパターン
book

入門 監視 ―モダンなモニタリングのためのデザインパターン

by Mike Julian, 松浦 隼人
January 2019
Beginner to intermediate
228 pages
2h 28m
Japanese
O'Reilly Japan, Inc.
Content preview from 入門 監視 ―モダンなモニタリングのためのデザインパターン

4章統計入門

統計はソフトウェアエンジニアリングやシステム管理の世界では、軽視されがちなトピックです。また、誤解の対象でもあります。私が話をしてきた多くの人たちは、「ちょっと統計をいじる」だけで魔法のように何かが出てくるという誤解の元に運用しています。残念ながらそんなことはありません。

しかし、統計の基本は分かりやすく、監視の仕事に非常に役立つのは間違いありません。

4.1 システム運用における統計を学ぶ前に

統計の勉強を始める前に、少し背景を理解しておくとよいでしょう。

Nagiosが広く普及し、その大きな影響が、監視の仕組みの改善を長い間邪魔してきたのではないかと私は考えています。Nagiosでアラートを設定するのはとても簡単ですが、役に立たないことも多いです†1

[†1] Nagiosを非難しているわけではありません。Nagiosが広く普及しているために、多くの監視ツールがNagiosを基準にしているというだけです。それ以外にも問題のあるツールはたくさんあります。

Nagiosで何らかのメトリクスに対するアラートを送る時には、WarningあるいはCriticalとして設定した値と、現在のメトリクスの値が比較されます。例えば、15分のロードアベレージとして5という値が返されたとしましょう。チェックスクリプトは、この値をWarningの設定値(例えば4)とCriticalの設定値(例えば10)と順に比較します。この場合、NagiosはWarningの設定値を超えたとして、期待どおりアラートを送ります。しかし、これはいつでも有用だとは限りません。

システムは予想しない(けれども問題があるとは言えない)動きをすることがあります。閾値を1回だけ超えた場合はどうでしょうか。60秒後の次のチェックの時、ロードアベレージが3.9だったらどうでしょうか。さらにその後が4.1だったらどうでしょうか。お分かりのとおり、このような場合、アラートはうるさくなるでしょう。 ...

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

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

Tanya Reilly, 島田 浩二
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784873118642Other