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

MySQL/MariaDB driver: Check is a variable is specific value #3140

Closed
1 task done
ilgrandetia opened this issue May 10, 2023 · 2 comments · May be fixed by #3919
Closed
1 task done

MySQL/MariaDB driver: Check is a variable is specific value #3140

ilgrandetia opened this issue May 10, 2023 · 2 comments · May be fixed by #3919
Labels
feature-request Request for new features to be added

Comments

@ilgrandetia
Copy link

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

I would like a check on the value of a variable to be implemented.

✔️ Solution

There should be the ability to set a specific value into uptime kuma interface (e.g., ON, OFF, 1, 0, etc..) for checking if that variable, normally searched with a select (e.g., SELECT @@global.read_only; the result can be 0 or 1), is egual to that field.
In that case it sends the notification if the value is equal to the set variable (or not if configured in "inverted mode".

❓ Alternatives

Actually the driver works only with time check on execute of SQL command.
Alternative is monitor the service is up with TCP port check.

📝 Additional Context

No response

@ilgrandetia ilgrandetia added the feature-request Request for new features to be added label May 10, 2023
@titanventura
Copy link
Contributor

Would like to work on this !

@CommanderStorm
Copy link
Collaborator

@ilgrandetia
We are consolidating duplicate issues a bit to make issue management easier.
I think, we should track this issue in #2342 as there is no difference
⇒ I am going to close this as a duplicate.

@CommanderStorm CommanderStorm closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants