-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cannot get Amplify to monitor MariaDB/mysql. amplify.agent.common.errors.AmplifySubprocessError: (message=ps xao pid,ppid,command | grep -E 'mysqld( |$)', payload={'returncode': 1, 'error': ''}) #83
Comments
I got the same on Ubuntu 20.04, |
Same here |
Same here, Debian 11/mariadb |
Same Issue, Not detecting the MariaDB 10.6.11 on Ubuntu 22 LTS, Configuration is correct, able login to mariadb unix socket using amplify-agent username and password and query the global status metrics. workaround Change From To restart daemon, maridb and amplify-agent to start getting data |
For what it's worth, I believe MariaDB changed this on their end in 10.5:
Solutions online suggest rewriting Alternatively, does it make sense to break MariaDB out as a separate extension entirely? I'd almost argue that it doesn't, but I'll leave that to the folks here to decide. |
I believe I have found the PROPER solution to this problem. This solution is a small modification from the answer I received on my Stack Overflow post. I have written a short tutorial on how to do this here: https://danran.rocks/2023/06/the-trick-to-monitoring-maria-databse-mariadb-mysql-in-nginx-amplify-on-ubuntu-server-20-04-for-raspberry-pi/ In short (on Ubuntu 20.04 for Raspberry Pi), you need to create the file
and add the following content to it...
Then run:
|
I am trying to get amplify to monitor mysql database on ubuntu server 20.04 running on a raspberry pi 4. I am sure I have set everything up correctly and have crossreferenced my work with many internet guides. However, mysql does not appear in the nginx amplify web interface after setting things up. My logs show the following errors:
Could someone help me debug and fix this? Thank you.
The text was updated successfully, but these errors were encountered: