Web Dashboard for Performance Co-Pilot (PCP)
Using some of the latest technologies, provide a web dashboard for the purposes of viewing a range of metrics managed by PCP and other tools.
By integrating a range of tools, give system administrators and developers an extremly easy way to monitor a range of hosts, services and applications.
Makes use of the following open source tools and technologies:
Contributions are most welcome! Feel free to address any of the TODO's.
TODO
- Services
- Configuration
- Web API
- Dashboard
On RHEL6 systems, the following commands will get you started with pcp:
yum install pcp pcp-webapi pcp-manager pcp-gui
chkconfig pmcd on
chkconfig pmwebd on
service pmcd start
service pmwebd start
Test the PCP installation by running the following:
pcp
pmprobe
pminfo
git clone http://github.com/dspinoz/pcpdash.git
cd pcpdash
npm install
TODO Create spec file, and build pcpdash rpm for easy installation with yum
git clone https://github.com/dspinoz/nodejs
cd nodejs
git checkout build
createrepo RPMS
cat > local.repo <<EOF
[local]
name=local-nodejs
baseurl=file://`pwd`/RPMS
enabled=1
gpgcheck=0
EOF
yum --config local.repo install nodejs-cube nodejs-queue-async mongodb-org nodejs-express nodejs-request nodejs-jade nodejs-statsd nodejs-statsd-cube-backend
When using yum to manage node packages, ensure the following
export NODE_PATH=/usr/local/lib/node_modules:/usr/lib/node_modules
TODO Don't require the use of bower when using yum
npm -g install bower
bower install
./server.js