cybozu-go / goma

An extensible monitoring agent in Go.
MIT License
125 stars 13 forks source link

アクションが呼ばれるタイミング #4

Closed uchan-nos closed 8 years ago

uchan-nos commented 8 years ago

The monitor kicks actions for recovery when the probe or filtered result of the probe reports recovery from failures.

probe が報告する数値が max を超えた場合にアクションが呼ばれるものだと思っていたのですが、上記の記述を読むと max を下回ったとき(= when the probe or filtered result of the probe reports recovery from failures)に呼ばれるのでしょうか?

ymmt2005 commented 8 years ago

I cannot understand your question. Note that actions have several types including on failure and on recovery.

ymmt2005 commented 8 years ago

and min and max define the range of probe values that are considered normal (no failure). On failure action is invoked when the monitor observes probe value goes out of the range, and on recovery action is invoked when the monitor observes probe value return to the range (from outside, of course).