Hello, author
I use the ganglia of mysqld module monitors mariadb, error, hope to solve as soon as possible!
Starting GANGLIA gmond: [PYTHON] Can't call the metric_init function in the python module [mysql].
Traceback (most recent call last):
File "/usr/lib64/ganglia/python_modules/mysql.py", line 1092, in metric_init
update_stats(REPORT_INNODB, REPORT_MASTER, REPORT_SLAVE)
File "/usr/lib64/ganglia/python_modules/mysql.py", line 139, in update_stats
innodb_status = parse_innodb_status(cursor.fetchone()[2].split('\n'), innodb_version)
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 123, in parse_innodb_status
innodb_status['transactions'] += longish(istatus[3])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 74, in longish
return longish(x[:-1])
File "/usr/lib64/ganglia/python_modules/DBUtil.py", line 76, in longish
raise ValueError
ValueError
Unable to find the metric information for 'mysql_innodb_pending_normal_aio_reads'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_log_writes'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_transactions'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_chkp_writes'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_rows_updated'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_data_fsyncs'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_spin_rounds'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_spin_waits'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_aio_log_ios'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_log_flushes'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_rows_read'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_transactions_unpurged'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_queries_queued'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_ibuf_aio_reads'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pending_normal_aio_writes'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_pages_read'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_read_views'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_buffer_pool_pages_data'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_data_reads'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_queries_inside'. Possible that the module has not been loaded.
Unable to find the metric information for 'mysql_innodb_log_bytes_written'. Possible that the module has not been loaded.
.....................................
mysql is normal