I'm trying to fetch metrics from Ganglia into Nagios but I'm getting an
error

[root@ishmemvm ganglia]# service gmond restart
Shutting down GANGLIA gmond: [  OK  ]
Starting GANGLIA gmond: Internal module structure 'python_module' in
file /usr/lib64/ganglia/modpython.so is not compatible -perhaps this
is not a metric module.
Internal module structure 'python_module' in file
/usr/lib64/ganglia/modpython.so is not compatible -perhaps this is not
a metric module.

Same error when I restart httpd

[root@ishmemvm ganglia]# service httpd restart
Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line
201 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib64/ganglia/modpython.so into server:
/usr/lib64/ganglia/modpython.so: undefined symbol: err_msg
[FAILED]

I tried to replace modpython.so

from here
<http://www.rpmfind.net/linux/rpm2html/search.php?query=modpython.so&submit=Search%20...&system=&arch=>
without success.

In gmond.conf I've added

module {
    name = "python_module"
    path = "/usr/lib64/ganglia/modpython.so"
    params = "/usr/lib64/ganglia/python_modules/"
  }

and include ('/etc/ganglia/conf.d/*.pyconf') as well.

In /usr/lib64/ganglia/ there is a python_modules directory and in
/etc/ganglia/ a directory conf.d

Any idea please?
------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to