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 [mysqlmo].#012
Sep 14 09:51:53 localhost abrt: Unable to find any metric information for 'filechecks(.+)'. Possible that a module has not been loaded.#012
....
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!
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 [mysqlmo].#012 Sep 14 09:51:53 localhost abrt: Unable to find any metric information for 'filechecks(.+)'. Possible that a module has not been loaded.#012 .... 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!