120_Collectd on SAKURAVPS from English Site

How to Install and Configure ‘Collectd’ and ‘Collectd-Web’ to Monitor Server Resources in Linux

This Time I will see that Web-Site for install “Collectd”.

Step 1: – Install Collectd Service (On RHEL/CentOS 6.x/5.x)

# yum install collectd

# service collectd start

Step 2: Install Collectd-Web and Dependencies

# yum install git

# yum install rrdtool rrdtool-devel rrdtool-perl perl-HTML-Parser perl-JSON

Step 3: Import Collectd-Web Git Repository and Modify Standalone Python Server

# cd /usr/local/

# git clone https://github.com/httpdss/collectd-web.git

# cd collectd-web/
# ls
# chmod +x cgi-bin/graphdefs.cgi

 

(# cd /usr/local/collectd-web/)

# nano runserver.py

# ./runserver.py &

# python runserver.py &

 

Then now, I try to access Collectd Site,

http://160.16.50.187:8888

capture_2016_11_12_14_54_22_341

capture_2016_11_12_14_54_30_288

Step 6: Enable a Collectd Daemon Plug-in

# nano /etc/collectd/collectd.conf

# cd /usr/local/collectd-web/ && python runserver.py 2> /tmp/collectd.log &

—————— On RHEL/CentOS 6..x/5.x and Fedora 12-19 ——————
# chkconfig collectd on
# chkconfig –level 5 collectd on

 

Buttt,,,,,,Graphcal Image was NOT seen , then did not success to setup “Collectd” as well as this time , Sorry!!

 

(2016/11/12 18:10)

操作してて、また非表示になった。。。/usr/local/collectd-webで、

(# cd /usr/local/collectd-web/)

# ./runserver.py &

# python runserver.py &

をして、httpdとCollectdを再起動したら、なんとかメニューだけ表示にもどりました!

# service collectd restart

# service httpd restart

ちなみに設定は、

/etc/collectd.conf
/etc/httpd/conf.d

以上

 

 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です