An open-source and enterprise-level monitoring system. http://open-falcon.org
laiwei 9349180658 update readme to add flashduty as recommended oncall tool | 1 gadu atpakaļ | |
---|---|---|
cmd | 4 gadi atpakaļ | |
common | 2 gadi atpakaļ | |
config | 2 gadi atpakaļ | |
docker | 3 gadi atpakaļ | |
docs | 5 gadi atpakaļ | |
g | 2 gadi atpakaļ | |
logos | 7 gadi atpakaļ | |
modules | 2 gadi atpakaļ | |
scripts | 3 gadi atpakaļ | |
test | 8 gadi atpakaļ | |
vagrant | 8 gadi atpakaļ | |
.dockerignore | 6 gadi atpakaļ | |
.gitignore | 4 gadi atpakaļ | |
.travis.yml | 3 gadi atpakaļ | |
CODE_OF_CONDUCT.md | 6 gadi atpakaļ | |
CONTRIBUTING.md | 7 gadi atpakaļ | |
Dockerfile | 3 gadi atpakaļ | |
Dockerfile.module | 3 gadi atpakaļ | |
Dockerfile_arm64 | 3 gadi atpakaļ | |
LICENSE | 7 gadi atpakaļ | |
Makefile | 2 gadi atpakaļ | |
NOTICE | 7 gadi atpakaļ | |
README.md | 1 gadu atpakaļ | |
VERSION | 5 gadi atpakaļ | |
api-standard.md | 6 gadi atpakaļ | |
docker-compose.yml | 3 gadi atpakaļ | |
docker_test.sh | 3 gadi atpakaļ | |
go.mod | 2 gadi atpakaļ | |
go.sum | 2 gadi atpakaļ | |
logo.png | 8 gadi atpakaļ | |
main.go | 5 gadi atpakaļ | |
version.go | 5 gadi atpakaļ |
If you are heavily using k8s and adopting microservices architecture, we recommend you to upgrade to use Nightingale building your modern monitoring system.
It is recommended that you use FlashDuty as the OnCall system to realize alarm aggregation convergence, claiming, upgrading, scheduling, and coordination, so that the alarm can be reached efficiently and ensure that the alarm processing is not missed.
Please refer to ./docker/README.md.
before start, please make sure you prepared this:
yum install -y redis
yum install -y mysql-server
NOTE: be sure to check redis and mysql-server have successfully started.
And then
# Please make sure that you have set `$GOPATH` and `$GOROOT` correctly.
# If you have not golang in your host, please follow [https://golang.org/doc/install] to install golang.
mkdir -p $GOPATH/src/github.com/open-falcon
cd $GOPATH/src/github.com/open-falcon
git clone https://github.com/open-falcon/falcon-plus.git
And do not forget to init the database first (if you have not loaded the database schema before)
cd $GOPATH/src/github.com/open-falcon/falcon-plus/scripts/mysql/db_schema/
mysql -h 127.0.0.1 -u root -p < 1_uic-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 2_portal-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 3_dashboard-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 4_graph-db-schema.sql
mysql -h 127.0.0.1 -u root -p < 5_alarms-db-schema.sql
NOTE: if you are upgrading from v0.1 to v0.2.0(or above),then. More upgrading instruction
mysql -h 127.0.0.1 -u root -p < 5_alarms-db-schema.sql
cd $GOPATH/src/github.com/open-falcon/falcon-plus/
# make all modules
make all
# make specified module
make agent
# pack all modules
make pack
make pack
you will got open-falcon-vx.x.x.tar.gz
config/xxx.json
before you do make pack
export WorkDir="$HOME/open-falcon"
mkdir -p $WorkDir
tar -xzvf open-falcon-vx.x.x.tar.gz -C $WorkDir
cd $WorkDir
cd $WorkDir
./open-falcon start
# check modules status
./open-falcon check
for example:
# ./open-falcon [start|stop|restart|check|monitor|reload] module
./open-falcon start agent
./open-falcon check
falcon-graph UP 53007
falcon-hbs UP 53014
falcon-judge UP 53020
falcon-transfer UP 53026
falcon-nodata UP 53032
falcon-aggregator UP 53038
falcon-agent UP 53044
falcon-gateway UP 53050
falcon-api UP 53056
falcon-alarm UP 53063
$WorkDir/$moduleName/logs/xxx.log
NOTE: if you want to use grafana as the dashboard, please check this.
make clean all pack
This project exists thanks to all the people who contribute. [Contribute].