-
before start , please make sure you prepared this ready.
git clone https://github.com/open-falcon/open-falcon.git cd open-falcon
# all modules
make all
# specified module
make agent
# pack all module
make pack
- after
make pack
you will gotopen-falcon-vx.x.x.tar.gz
- if you want edit configure file for each module, you can edit
config/xxx.json
before you domake pack
mkdir $WorkingDir
tar -xzvf open-falcon-vx.x.x.tar.gz -C $WorkingDir
cd $WorkingDir
Agent for example:
# ./open-falcon [build|pack|start|stop|restart|status|tail] module
./open-falcon start hbs
./open-falcon check
# falcon-graph UP 15525
# falcon-hbs UP 15428
# falcon-sender DOWN -
# falcon-query DOWN -
# falcon-judge DOWN -
# falcon-transfer UP 15476
# falcon-nodata DOWN -
# falcon-task DOWN -
# falcon-aggregator DOWN -
# falcon-agent UP 16601
# falcon-gateway DOWN -
# falcon-api UP 16762
- For debugging , You can check
$WorkDir/$moduleName/log/logs/xxx.log
Make sure you're using Go 1.5+ and GO15VENDOREXPERIMENT=1 env var is exported. (You can ignore GO15VENDOREXPERIMENT using Go 1.6+.)
- Install
trash
bygo get github.com/rancher/trash
. - Edit
trash.yml
file to your needs. See the example as follow. - Run
trash --keep
to download the dependencies.
package: github.com/open-falcon/open-falcon
import:
- package: github.com/open-falcon/common # package name
version: origin/develop # tag, commit, or branch
repo: https://github.com/open-falcon/common.git # (optional) git URL
make clean all pack
Any issue or question is welcome, Please feel free to open github issues.