Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

conflict custom notify script and healthcheck #95

Open
unteem opened this issue May 7, 2019 · 1 comment
Open

conflict custom notify script and healthcheck #95

unteem opened this issue May 7, 2019 · 1 comment

Comments

@unteem
Copy link

unteem commented May 7, 2019

Hi.
There is an issue if you use a notify script with env variable KEEPALIVED_NOTIFY as there is already a notify script for the health check. It seems that keepalived only accept one notify script.

Workaround is to add the health check script in the custom notify script but it might be best for the health check to use a check script (like its done for haproxy) instead of notify script? What do you think?

@unteem unteem changed the title confilct custom notify script and healthcheck conflict custom notify script and healthcheck May 7, 2019
@steven-sheehy
Copy link
Contributor

It can't use a script since it specifically needs the MASTER/BACKUP state that the notify script provides it as parameters.

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

No branches or pull requests

2 participants