Open dvershinin opened 6 years ago
Hello @dvershinin, this issue requires some investigation. Creating a ticket in our support queue. Pls check your mailbox.
So with CentOS 6 / Python 2.6 the agent cannot send the MySQL metrics due to a bug (I've been told the bug is with Python 2.6 itself so likely cannot be fixed by the agent itself).
I've detailed my experience installing newer Python 2.7 on CentOS 6 as well as installing the agent manually here. I hope this can be useful to anyone still using CentOS 6 and having a requirement to monitor MySQL.
One important note is that with:
[mysql]
host = localhost
remote = False
...
it still failed, but with:
[mysql]
#host =
#remote = False
...
things worked.
MySQL version: Server version: 5.6.39 MySQL Community Server (GPL) Python version: 2.6.6 OS: CentOS release 6.10 (Final) Amplify agent: 1.4.1-1.el6 @nginx-amplify
I've configured MySQL user for amplify agent, made sure it can read global metric (verified on the command line), set correct path to MySQL socket file, running amplify agent as root user, but...: