n9e-server 配置文件如下:
[HTTP.Pushgw]
Enable = true
[HTTP.Pushgw.BasicAuth]
htkj = "dsljowijoincoiwhoinoauhohalqnc8"
categraf 配置文件如下:
[[writers]]
url = "http://10.0.0.101:17000/prometheus/v1/write"
basic_auth_user = ""
basic_auth_pass = ""
timeout = 5000
dial_timeout = 2500
max_idle_conns_per_host = 100
版本信息如下:
./categraf --version
v0.3.39-988965c60264084c9824d2aee32102e030d38fb7
./n9e --version
v6.5.0-6fd75ae552a57c3891591c0a64ac5cc09732ced1
问题总结 :
此时n9e-server在categraf没有输入用户名密码的情况下依旧可以接收categraf的数据且日志没有相关报错信息