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

Secondary pings #121

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Secondary pings #121

wants to merge 2 commits into from

Conversation

impimp
Copy link

@impimp impimp commented May 16, 2019

This PR changes:

  • checking next monitoring servers given, in case one of them is not reachable in masterha_secondary_check,
  • implements ping_type=CONNECT and ping_type=SELECT in masterha_secondary_check.

The current behaviour of masterha_secondary_script was to stop checking
if one of the monitoring server was unavailble.
Currently the behaviour of the masterha_secondary_check is to:
  1. Check if the socket is open on a master server.
  2. If ping_type==INSERT, then check if the given INSERT query is
     working.

This commit implements SELECT and CONNECT ping types.
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

Successfully merging this pull request may close these issues.

1 participant