Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Ganglia in CentOS 5.5

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

I believe many inexperienced people don't know what to do about how to configure Ganglia in CentOS 5.5.Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Configuration steps:

Generally, you need to configure it after installation. The specific configuration files are gmond.conf and gmetad.conf in the / etc/ganglia/ directory.

Gmond.conf

Cluster {

Name = "unspecified"-"changed to" my cluster "

Owner = "unspecified"

Latlong = "unspecified"

Url = "unspecified"

}

Gmetad.conf

Since the default storage path of RRD data in gmetad.conf is / var/lib/ganglia/rrds, you need to create this and change the owner to nobody (originally root), otherwise the following error will occur:

Err1:

# service gmetad status

Gmetad is dead, but subsys is locked.

Err2:

There was an error collecting ganglia data (127.0.0.1 Connection refused): fsockopen error:

Resolution code:

# mkdir-p / var/lib/ganglia/rrds

# chown nobody:nobody / var/lib/ganglia/rrds

Also note the conf.php file under the directory / var/www/html/ganglia/

Correctly specify the path where you install rrdtool. The default is as follows

Define ("RRDTOOL", "/ usr/bin/rrdtool")

After reading the above, have you mastered how to configure Ganglia in CentOS 5.5? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 256

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report