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

Support of connecting via Unix-socket for MySQL checks #1

Closed
wants to merge 2 commits into from

Conversation

aleksey-hariton
Copy link

On my servers I have MySQL installed without networking support ("skip-networking" in my.cnf), so I need way to check MySQL via Unix-socket.
This commit allows to specify "--socket" option. Option supported in "dbi" and "mysqlcmd" sqlmode`s.

Example:

./centreon_plugins.pl --plugin database::mysql::plugin --username='root' --host localhost --socket=/tmp/mysql1.sock --mode queries --sqlmode mysqlcmd

@ghost
Copy link

ghost commented Apr 26, 2015

Sorry for the time to applied your change. Thanks for it. I have commited on redmine. We have still the github and redmine. But in short time, we'll have only github.

@ghost ghost closed this Apr 26, 2015
garnier-quentin pushed a commit that referenced this pull request Aug 7, 2015
garnier-quentin pushed a commit that referenced this pull request Sep 24, 2015
garnier-quentin pushed a commit that referenced this pull request Dec 4, 2015
Keep up to date with master repo
garnier-quentin pushed a commit that referenced this pull request Jan 14, 2016
garnier-quentin pushed a commit that referenced this pull request Jan 11, 2018
garnier-quentin pushed a commit that referenced this pull request Jan 9, 2019
garnier-quentin pushed a commit that referenced this pull request Sep 10, 2019
garnier-quentin pushed a commit that referenced this pull request Oct 24, 2019
Sims24 pushed a commit that referenced this pull request Jul 21, 2021
kduret pushed a commit that referenced this pull request May 19, 2023
+ Fix #1
Add option to handle timeshift and sampling period
Also manage some errors on counters
kduret pushed a commit that referenced this pull request May 19, 2023
kduret pushed a commit that referenced this pull request May 19, 2023
This pull request was closed.
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