Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

check_mysql: Add a -N slave_name option #1716

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

Open
GerMalaz wants to merge 7 commits into monitoring-plugins:master
base: master
Choose a base branch
Loading
from GerMalaz:mysql_named_slaves

Conversation

@GerMalaz
Copy link
Contributor

@GerMalaz GerMalaz commented Oct 29, 2021

Checks for MariaDB in server_info on deciding to use show slave 'slave_name' status (if matches) or show slave status for channel '%s' (if it doesn't match).

INCOMPATIBILITY:
When more than one slave is present, the first one returned was checked.
Now it fails in that case, if the -N/--slave-name option is not used.

@waja waja changed the title (削除) check_mysql.c: Add a -N slave_name option (削除ここまで) (追記) check_mysql: Add a -N slave_name option (追記ここまで) Jan 30, 2022
GerMalaz and others added 2 commits February 3, 2023 16:16
Use the string MariaDB in server_info to decide on syntax:
`show slave '%s' status` (if matches) or `show slave status for channel '%s'`(if not)
INCOMPATIBILITY: 
 When more than one slave is present, the first row was used.
 Now it fails if the -N/--slave-name option is not used.
check_mysql: Allow sockets to be specified to -H
@waja waja force-pushed the mysql_named_slaves branch from 4651c91 to 825827a Compare February 3, 2023 15:16
@waja waja added this to the 2.4 milestone Feb 3, 2023
@waja waja modified the milestones: 2.4, 2.5 Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

2.5

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /