sonian/sensu — Issue #233: client can stop making checks if a check hangs
Author: millarm
Created: 2012-02-29 13:34:03+00:00
State: open

Running sensu-client on a node last night spotted that a check didn't happen.

I'm investigating, but one theory is that the check (an external script) didn't ever return - it hung. This caused sensu-client to never check again, and no alert to be raised.

Now it's a separate (and valid) question as to why did my check hang forever, but the default behaviour here seems to be wrong. Should be possible to specify a "timeout" option for a check, after which the check is automatically failed (if the default is "never" then the API doesn't change from current)

Anyone else seen something similar?