Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set handler for keepalive check #1960

Closed
brieken opened this issue Aug 14, 2018 · 2 comments
Closed

Cannot set handler for keepalive check #1960

brieken opened this issue Aug 14, 2018 · 2 comments

Comments

@brieken
Copy link

brieken commented Aug 14, 2018

I want to be able to get notified when a server is down. Currently i have a slack handler. But i cannot set it for the keepalive check. Is there a reason for this?

@echlebek
Copy link
Contributor

Hi @brieken, keepalives are a special case. They have a static handler assigned to them called "keepalive". If you create a handler with this name, keepalive events will be handled by it.

So given that you probably have a handler called "slack", you can create a set handler called "keepalive", and then include the "slack" handler in it.

Hope this helps. :)

@brieken
Copy link
Author

brieken commented Aug 14, 2018

wow that's a fast respone. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants