ccfos / nightingale

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.
https://flashcat.cloud/docs/
Apache License 2.0
9.42k stars 1.38k forks source link

创建任务时填入机器列表中不存在的主机名会成功创建 #1988

Open rayn316 opened 2 months ago

rayn316 commented 2 months ago

Your config.toml

1

Relevant logs

1

System info

latest

Steps to reproduce

  1. 在创建任务时,在host栏填入机器列表中不存在的主机名会成功创建
  2. 点击运行后,可以运行,但是无法暂停或者kill,因为机器列表中不存在,也不会被夜莺管理
  3. ...

Expected behavior

可以判断出不可执行的host,或者创建后,对不存在的host直接判断错误,返回失败

Actual behavior

正常创建任务,运行也会出错

Additional info

No response