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

mysqld python module have error "Can't call the metric_init function in the python module" #224

Open
yhb001002 opened this issue Sep 14, 2016 · 0 comments

Comments

@yhb001002
Copy link

When I use the mysql python module have error ,tail -f /var/log/message:
Sep 14 09:51:53 localhost /usr/sbin/gmond[24970]: [PYTHON] Can't call the metric_init function in the python module [mysql_mo].#12
Sep 14 09:51:53 localhost abrt: Unable to find any metric information for 'filechecks_(.+)'. Possible that a module has not been loaded.#12
....
I use #gmond -m can see python_module have loaded ,but mysql can't find ;

gmond -d2 there is no error at here.

mysql.pyconf
modules {
module {
name = 'mysql_mo'
language = 'python'
param host {
value = 'localhost'
}
param user {
value = 'root'
}
param passwd {
value = 'root'
}
param get_innodb {
value = True
}
param get_master {
value = False
}
param get_slave {
value = False
}
param delta_per_second {
value = True
}
}
}
and my mysql_mo.py in /usr/lib64/ganglia/python_modules didn't modify
Any one know how to fix this ?
Thanks!

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