pseriescollector
pseriescollector is a Collector for the IBM PSeries Virtualization Platform.
If you wish to compile from source code you can follow the next steps
Run from master
If you want to build a package yourself, or contribute. Here is a guide for how to do that.
Dependencies
Get Code
go get -d github.com/adejoux/pSeriesCollector/...
Building the backend
cd $GOPATH/src/github.com/adejoux/pSeriesCollector
Building frontend and backend in production mode
npm install
PATH=$(npm bin):$PATH
npm run build:pro #will build fronted and backend
Creating minimal package tar.gz
npm run postbuild #will build fronted and backend
Running first time
To execute without any configuration you need a minimal config.toml file on the conf directory.
cp conf/sample.pseriescollector.toml conf/pseriescollector.toml
./bin/pseriescollector
Recompile backend on source change (only for developers)
To rebuild on source change (requires that you executed godep restore)
go get github.com/Unknwon/bra
npm start
will init a change autodetect webserver with angular-cli (ng serve) and also a autodetect and recompile process with bra for the backend
Online config
Now you wil be able to configure metrics/measuremnets and devices from the builting web server at http://localhost:8090 or http://localhost:4200 if working in development mode (npm start)