Warning if sensu check does not run

This may be more of a design question. Is it possible for sensu server check to warn if a client has NOT sent any message to it after a fixed amount of time has passed?

This is extremely useful in the case when the application/sensu client goes down and we get no alerts…

Best
Sid

You should be getting keepalive events (warning and then critical) when a
client doesn't send keepalive messages anymore. This is enabled by default
(and I'm not even sure you can disable it).

···

On Tue, Aug 30, 2016 at 8:47 AM, Sidharth Gupta <itissid@gmail.com> wrote:

This may be more of a design question. Is it possible for sensu server
check to warn if a client has NOT sent any message to it after a fixed
amount of time has passed?

This is extremely useful in the case when the application/sensu client
goes down and we get no alerts..

Details at https://sensuapp.org/docs/latest/reference/clients.html#client-keepalives

···

On Tuesday, 30 August 2016 14:10:20 UTC+1, Moises Silva wrote:

On Tue, Aug 30, 2016 at 8:47 AM, Sidharth Gupta iti...@gmail.com wrote:

This may be more of a design question. Is it possible for sensu server check to warn if a client has NOT sent any message to it after a fixed amount of time has passed?

This is extremely useful in the case when the application/sensu client goes down and we get no alerts…

You should be getting keepalive events (warning and then critical) when a client doesn’t send keepalive messages anymore. This is enabled by default (and I’m not even sure you can disable it).

As others have commented, client “liveness” is provided via Sensu client keepalives, which is a built-in function of Sensu.

For similar results on an individual check basis, please refer to the check definition specification for check “TTL” (see https://sensuapp.org/docs/0.26/reference/checks.html#check-attributes, under “ttl”), which will cause the Sensu server to raise an alert if a result has not been received for a particular check in a predefined number of seconds.

I hope this helps!

···

On Tuesday, August 30, 2016 at 5:47:00 AM UTC-7, Sidharth Gupta wrote:

This may be more of a design question. Is it possible for sensu server check to warn if a client has NOT sent any message to it after a fixed amount of time has passed?

This is extremely useful in the case when the application/sensu client goes down and we get no alerts…

Best
Sid