在不同操作系统下全路径不一样,比如上述的 ifconfig / route 在 Debian 系统的 /sbin 目录下。 另外 Debian 打印出来 多 'addr:' 需要多处理 /sbin/ifconfig `/sbin/route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F':' '{print $2}'|head -n 1 还不如直接 hostname -i 获取,正常配置下都Okay的。 |
||
---|---|---|
doc | ||
etc | ||
plugin | ||
pub | ||
sql | ||
src | ||
vendor | ||
web | ||
.gitignore | ||
LICENSE | ||
README.md | ||
README_ZH.md | ||
control | ||
go.mod | ||
go.sum |
README.md

Nightingale is a fork of Open-Falcon, and all the core modules have been greatly optimized. It integrates the best practices of DiDi. You can think of it as the next generation of Open-Falcon, and use directly in production environment.
Documentation
Nightingale user manual: https://n9e.didiyun.com/
Compile
mkdir -p $GOPATH/src/github.com/didi
cd $GOPATH/src/github.com/didi
git clone https://github.com/didi/nightingale.git
cd nightingale
# export env[GOPROXY] if your network is not good
# export GOPROXY=https://mirrors.aliyun.com/goproxy/
./control build
Team
ulricqin 710leo jsers hujter n4mine heli567
License

Nightingale is available under the Apache-2.0 license. See the LICENSE file for more info.