NetflixOSS: Installing and Running Vector
Netflix Vector is a great monitoring tool for linux boxes. Today i will show how to install, configure and run Netflix vector. We will do that on the AWS cloud.
I will do the installations on the Amazon Linux OS (CentOS Based) but IMHO you can use other OS if you want like Ubuntu.
Installing and Running Vector on Amazon Linux OS
First of all - You will need create a amazon instance, select amazon linux and them once you create the machine you need ssh into the box, them you are ready to install vector.
As you can see we installed PCP because vector is just a UI - IF you want you can install PCP in other boxes and them just have vector in one HOST. This is useful because them you can have a central repository for monitoring and you can see all in first place.
When you open vector in you browser will look something like this.
Have fun :-)
Cheers,
Diego Pacheco
I will do the installations on the Amazon Linux OS (CentOS Based) but IMHO you can use other OS if you want like Ubuntu.
Installing and Running Vector on Amazon Linux OS
First of all - You will need create a amazon instance, select amazon linux and them once you create the machine you need ssh into the box, them you are ready to install vector.
sudo yum install -y git gcc perl-CPAN <BR>
sudo yum install -y bison flex byacc <BR>
sudo yum install -y libmicrohttpd-devel <BR>
sudo yum install -y gcc-c++ <BR>
git clone git://git.pcp.io/pcp <BR>
cd pcp/ <BR>
sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi <BR>
sudo groupadd -r pcp <BR>
sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp <BR>
sudo make <BR>
sudo make install <BR>
git clone https://github.com/Netflix/vector.git <BR>
cd vector/ <BR>
sudo yum install -y nodejs --enablerepo=epel <BR>
sudo yum install -y npm --enablerepo=epel <BR>
npm install <BR>
sudo npm install -g bower <BR>
sudo npm install -g gulp <BR>
bower install <BR>
gulp build <BR>
sudo service pmcd start <BR>
sudo service pmwebd start <BR>
gulp serve <BR>
replace this URL for you amazon DNS_HOST_URL
When you open vector in you browser will look something like this.
Have fun :-)
Cheers,
Diego Pacheco