Stats Collector 3.0 review
DownloadIt is a package useful to collect statistics from remote nodes
|
|
It is a package useful to collect statistics from remote nodes. That includes standard server metrics and any other numerical quantity we can use to characterize the node state (as the number of users or processes).
It is built under a distributed agent-manager model. RRDtool is used as database, so representation capabilities are bundled.
Although rrdUtils are not a requisite, they are used in some auxiliar tasks and using both tools is highly recommended.
Installation:
Manager side
gunzip -c rrdUtils-3.1.tar.gz | tar -xf -
cd rrdUtils
./configure --with-rrddir=/stats
make install
gunzip -c stats-station-3.0.tar.gz | tar -xf -
cd stats-station
./configure --with-statsdir=/stats --with-port=666
make install
cd rrdConf
./install_confs.sh
./haz_index.sh -g
The -g flag creates graphs with the html pages, and reduces the number of error messages that haz_index will issue.
The only task that needs to be completed at this point is the periodic graphs generation by a crontab entry that calls the make_graphs.sh script.
Once we start the server using the provided initscript, we get the manager side ready.
Agent side
gunzip -c stats-3.0.tar.gz | tar -xf -
cd stats
./configure --with-host=central.node --with-port=666
--with-statsdir=/usr/local/stats
make install
With a crontab entry to execute the statlaunch script every 15 minutes, the whole system is up and running.
Stats Collector 3.0 keywords