Difference between revisions of "Collectd installation"

From VoIPmonitor.org
Jump to navigation Jump to search
Line 15: Line 15:
 
  ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/collectd
 
  ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/collectd
 
You can now access using browser:
 
You can now access using browser:
 
+
http://server_ip/collectd/bin/index.cgi
  
  
Line 25: Line 25:
 
  ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/html/collectd
 
  ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/html/collectd
 
You can now access using browser:
 
You can now access using browser:
 +
http://server_ip/collectd/bin/index.cgi

Revision as of 14:05, 27 July 2015

Centos

Install collectd packages from epel repositories:

yum install epel-release
yum install collectd
yum install collectd-web
service httpd restart

You can now access collectd collections entering this url to a browser:

http://server_ip/collectd/bin/index.cgi

Debian7

Install collectd packages from debian main repositories:

apt-get install collectd librrds-perl

Create link from default www directory to collectd's collections.

ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/collectd

You can now access using browser:

http://server_ip/collectd/bin/index.cgi


Debian8

Install collectd packages from debian main repositories:

apt-get install collectd librrds-perl

Create link from default www directory to collectd's collections.

ln -s /usr/share/doc/collectd-core/examples/collection3/ /var/www/html/collectd

You can now access using browser:

http://server_ip/collectd/bin/index.cgi