Ganglia客户端不会在64位CentOS上向服务器报告指标

时间:2013-10-11 07:52:50

标签: centos 64-bit ganglia

我在CentOS客户端上的Ubuntu和Ganglia客户端(gmond)上有Ganglia服务器。客户端计算机的指标未显示在UI

当我尝试在客户端上重启gmond服务时,我收到错误:

service gmond restart
Shutting down GANGLIA gmond:                               [  OK  ]
Starting GANGLIA gmond: Cannot load /usr/lib/ganglia/modcpu.so metric module:     /usr/lib/ganglia/modcpu.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/moddisk.so metric module: /usr/lib/ganglia/moddisk.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/modload.so metric module: /usr/lib/ganglia/modload.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/modmem.so metric module: /usr/lib/ganglia/modmem.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/modnet.so metric module: /usr/lib/ganglia/modnet.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/modproc.so metric module: /usr/lib/ganglia/modproc.so: cannot open shared object file: No such file or directory
Cannot load /usr/lib/ganglia/modsys.so metric module: /usr/lib/ganglia/modsys.so: cannot open shared object file: No such file or directory

/ var / log / messages也会报告:

/usr/sbin/gmond[6374]: Unable to find the metric information for 'pkts_in'. Possible that the module has not been loaded.#012

1 个答案:

答案 0 :(得分:1)

在64位计算机上,错误消息中提到的.so文件的路径应该是/usr/lib64/ganglia/,因此它在/usr/lib/ganglia/modcpu.so找不到的文件实际上位于/usr/lib64/ganglia/modcpu.so

这些模块路径的配置位于/etc/ganglia/gmond.confdocumented here。修改文件中的路径并在客户端重新启动gmond服务,你很好。