ulricqin
|
9ba38546ac
|
Merge pull request #18 from higkoo/patch-2
更新IP地址的获取方式
|
2020-03-24 10:28:21 +08:00 |
ulricqin
|
7325c7d50a
|
Merge pull request #17 from higkoo/patch-1
更新IP地址的获取方式
|
2020-03-24 10:28:06 +08:00 |
higkoo
|
16871e724f
|
更新IP地址的获取方式
在不同操作系统下全路径不一样,比如上述的 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的。
|
2020-03-23 19:49:27 +08:00 |
higkoo
|
b71847feba
|
更新IP地址的获取方式
ifconfig 和 route 命令,写绝对路径会导致兼容性不好。
1. Debian系统路径对应: /sbin/ifconfig 和 /sbin/route
2. 原命令获取的IP地址兼容性不好,会带“addr:”在前面。 addr:192.163.10.31
3. 本地配置正确的情况下 `hostname -i`是能拿到正确IP的
|
2020-03-23 19:46:59 +08:00 |
710leo
|
408b6494d8
|
refactor: stats use address.yml
|
2020-03-23 18:06:44 +08:00 |
710leo
|
2b30d8e0bd
|
refactor: stats default use address.yml
|
2020-03-23 15:32:23 +08:00 |
710leo
|
450f94ff32
|
feat: support comparison graph
|
2020-03-23 14:14:11 +08:00 |
Ulric Qin
|
6f66b022bc
|
use aliyun mirror when build
|
2020-03-23 13:16:28 +08:00 |
ulricqin
|
c2d74a99dc
|
Merge pull request #11 from freedomkk-qfeng/master
优化 LDAP 认证部分的支持
|
2020-03-23 09:33:12 +08:00 |
Feng_Qi
|
a5be668359
|
ldap login support anonymous search mode
|
2020-03-23 00:04:15 +08:00 |
Feng_Qi
|
7c86e8f58e
|
ldap login support auto cover attributes
1. support cover attribute by ldap
2. add ldap auto regist config
|
2020-03-22 23:43:06 +08:00 |
Ulric Qin
|
eb03ccc271
|
nginx user use root
|
2020-03-22 07:30:08 +08:00 |
Ulric Qin
|
96af38b411
|
add GOPROXY export when build
|
2020-03-22 06:28:32 +08:00 |
Ulric Qin
|
178acfb4c2
|
Merge branch 'master' of github.com:didi/nightingale
|
2020-03-21 15:01:23 +08:00 |
Ulric Qin
|
7ef118c9f2
|
export GO111MODULE
|
2020-03-21 15:00:14 +08:00 |
710leo
|
3092b4b65d
|
fix: recovery alert value is null & refactor stats
|
2020-03-19 17:20:29 +08:00 |
710leo
|
5df96d41a7
|
refactor: add some metrics
|
2020-03-19 12:45:33 +08:00 |
jsers
|
1e05be4eec
|
web build
|
2020-03-19 11:32:08 +08:00 |
jsers
|
feed1df8ca
|
fix: failed to load the bind node
|
2020-03-19 11:31:59 +08:00 |
jsers
|
91a4648c6f
|
[web] fix: delete root node
|
2020-03-19 11:30:50 +08:00 |
Ulric Qin
|
7e400f0c29
|
del no use comment
|
2020-03-18 17:39:05 +08:00 |
Ulric Qin
|
29a0dbe193
|
use varchar(255) not varchar(256)
|
2020-03-16 18:11:03 +08:00 |
710leo
|
e32178371d
|
refactor: change validate reserved words
|
2020-03-15 12:06:09 +08:00 |
Ulric Qin
|
0ba6c698d1
|
print endpoint in stdout
|
2020-03-14 23:08:31 +08:00 |
Ulric Qin
|
ceaa9f58af
|
rra refactor
|
2020-03-11 23:19:53 +08:00 |
710leo
|
5f00489392
|
init project
|
2020-03-11 18:25:20 +08:00 |