Note: Setup collectd and collectd-web on Ubuntu/Debian

# apt install collectd
 
# nano /etc/collectd/collectd.conf
 
# service collectd start
 
# apt-get install git
# apt-get install python
# apt-get install librrds-perl libjson-perl libhtml-parser-perl libcgi-session-perl
 
# cd ~
# git clone https://github.com/httpdss/collectd-web.git
# cd collectd-web
# chmod +x cgi-bin/graphdefs.cgi
 
# nano runserver.py
 
Change listen IP address to 0.0.0.0
 
# ./runserver.py &
 
# killall python

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注