uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Add support for monitoring MySQL/MariaDB databases

Open derekoharrow opened this issue 2 years ago • 1 comments

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

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

PR1430 has just added the ability to monitor MS SQL Server DB's.

It would be good to also be able to monitor other popular DBs too - specifically MySQL/MariaDB which many people use.

✔️ Solution

Replicate the setup for MS SQL server, but with different connection methods and parameters to connect and test MySQL/MariaDB

❓ Alternatives

Currently doing a TCP Port test, but this only checks if the port is open, not whether a DB is actually available on that port and functioning.

📝 Additional Context

No response

derekoharrow avatar Jun 22 '22 13:06 derekoharrow

Would be very helpful

Iliannnn avatar Aug 03 '22 17:08 Iliannnn

Yes because SQL check does not work for MySQL

tieb62 avatar Oct 01 '22 19:10 tieb62

I will have a look at implementing this tonight

Computroniks avatar Oct 01 '22 20:10 Computroniks

Thanks

tieb62 avatar Oct 01 '22 20:10 tieb62

And a Good Idea would be to make clear that SQL monitor is in fact "MS SQL" Monitor, because it's really confusing

tieb62 avatar Oct 01 '22 20:10 tieb62

I have implemented this in #2151. If anyone is able to help test this it would be greatly appreciated.

Computroniks avatar Oct 02 '22 00:10 Computroniks