Keepalive check handler


#1

I have the default handler configured with ruby mailer plugin. I am using occurrences and refresh to control the alerting for regular checks. Do we have an option to configure these settings for keepalive?

Current issue is when the host is completely down, i don't get alerted quickly. This is the message i am seeing in the logs "only handling every 60 occurrences". So this will be like 20 seconds X 60 which will be 20 minutes. I am trying to get the alert faster when the host goes down.

Any other way to achieve this?

Thanks


#2

You can set any arbitrary keepalive configuration data (like
occurrences / refresh) in the keepalive configuration dict:
https://sensuapp.org/docs/0.20/clients#keepalive-attributes

ยทยทยท

On Thu, Jul 23, 2015 at 12:27 AM, San s <warpdrive47@gmail.com> wrote:

I have the default handler configured with ruby mailer plugin. I am using occurrences and refresh to control the alerting for regular checks. Do we have an option to configure these settings for keepalive?

Current issue is when the host is completely down, i don't get alerted quickly. This is the message i am seeing in the logs "only handling every 60 occurrences". So this will be like 20 seconds X 60 which will be 20 minutes. I am trying to get the alert faster when the host goes down.

Any other way to achieve this?

Thanks