no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | collectd [2012/08/09 15:53] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== collectd ====== | ||
+ | collectd is a daemon that gathers system processes, and generates RRD files. | ||
+ | |||
+ | See also [[CGP]] for web statistics. | ||
+ | |||
+ | ==== Requirements ==== | ||
+ | |||
+ | * rrdtool | ||
+ | * apache web server with PHP support | ||
+ | * A MySQL user that can excecute 'SHOW STATUS'; | ||
+ | * .htaccess file to limit visibility | ||
+ | |||
+ | ==== CentOS ==== | ||
+ | |||
+ | Repository installs: | ||
+ | |||
+ | < | ||
+ | yum install libpcap-devel | ||
+ | </ | ||
+ | |||
+ | Download and install manually: | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | == Startup == | ||
+ | |||
+ | Download and install the collectd init script. | ||
+ | |||
+ | == Notes == | ||
+ | |||
+ | On one CentOS install, I was having trouble with collectd' | ||
+ | |||
+ | |||
+ | ==== Gentoo ==== | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | syslog load conntrack interface memory netlink rrdtool tcpconns vmem df protocols sensors"</ | ||
+ | |||
+ | ==== FreeBSD ==== | ||
+ | |||
+ | Located in ''/ | ||
+ | |||
+ | < | ||
+ | echo collectd_enable=YES >> / | ||
+ | mkdir / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== MySQL ==== | ||
+ | |||
+ | Create a new user with proper privileges: | ||
+ | |||
+ | < | ||
+ | CREATE USER ' | ||
+ | GRANT SELECT, PROCESS, SHOW DATABASES, SUPER ON *.* TO ' | ||
+ | FLUSH PRIVILEGES; | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Notes === | ||
+ | |||
+ | Some plugins will not work on a VPS because you do not have direct access to the hardware. | ||
+ | |||
+ | Once you start collectd, tail the system logs to make sure everything is okay. |