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

Wrong warning message: "Warning: Cannot compute advanced MySQL metrics" #559

Closed
LotharSee opened this issue Jul 1, 2013 · 0 comments
Closed
Assignees

Comments

@LotharSee
Copy link
Contributor

From info page, on a Debian Squeeze:

Warning: Cannot compute advanced MySQL metrics; cannot read mysql pid file /var/run/mysqld/mysqld.pid

It is true that the pid file isn't readable, but the check compute advanced metrics (such as 'mysql.performance.user_time'). It gets the pid with _get_server_pid, using ps.

In fact, the warning command isn't where it should be in the code.
We just have to move it (I will do it), but it is also the good opportunity to refactor this part of the code (to include it in _get_server_pid).

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

No branches or pull requests

1 participant