As I've mentioned in my books, if a number of logs decreased drastically, it might not indicate that reportee host got healthier drastically.
Both increasing and decreasing of log amount are supposed to be taken care. I've forgotten the rule, sigh...
2007-04-25
prometheusのrate()関数の罠
久しぶりのAdventカレンダー挑戦、うまくいく気がしません。 閑話休題。実のところ、rate()関数というよりは、サーバー側のmetric初期化問題です。 さて、何らかのサーバーAがあったとして、それが更に他のサーバーBにRPCを送っているとします。サーバーBの方でホワイトボ...
-
http://d.hatena.ne.jp/Yamashiro0217/20120727/1343371036 シェル操作課題ということで bash のみでやってみた。CSVじゃなくてあくまでもカンマ区切りということでクォーティング処理とかは全くなし。ファイル名が与えられてないの...
-
CVE-2014-6271 の件について、何かわかってない記事が散見されるので簡単にまとめ。 問題点 環境変数が特殊な文字列の場合、Bash はそれを関数定義とみなす(この仕様がそもそもどうなのよ、と思う人は/bin/shをbashにするのはもうやめましょう)。そのロジ...
-
Array, Associative Array と予定どおり A から順にネタを消化中で、今日は Arithmetic Expression。辞書順的に後戻りですが、細かいことは気にしないでいきましょう。 扱える範囲 とりあえず小数は扱えません。小数を使うような計算が必要...
1 件のコメント:
Even though I read your books again, I can't get what you meant.
Did you mean something like below?
If the frequency of log rotations went down, it doesn't mean the host outputting the log messages is running stably nor safely.
Observe how the log message amount changes periodically, so that you can detect a drastic increment or decrement of messages.
コメントを投稿