Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

告警自愈任务无法获得返回信息 #2428

Open
9uest opened this issue Jan 10, 2025 · 2 comments
Open

告警自愈任务无法获得返回信息 #2428

9uest opened this issue Jan 10, 2025 · 2 comments

Comments

@9uest
Copy link

9uest commented Jan 10, 2025

Question and Steps to reproduce

通过告警自愈任务中的临时任务,如果脚本执行的时间稍为长点,就无法返回信息
执行系统命令,如 ss -tln 可正常返回
在客户机的meta目录中可以看到执行的内容和需要返回结果。

尝试过如下操作
因为使用nginx反代,故增加nginx proxy相关超时时间,无效

Relevant logs and configurations

n9e 

[Ibex]
Enable = true
RPCListen = "0.0.0.0:1234"

categraf

[ibex]
enable = true
interval = "1000ms"
servers = ["a.abc.com:1234"]
meta_dir = "./meta"

Version

二进制部署

后端版本:v8.0.0-beta.1-7c5c9a95c3d338a39e2e58ff9a710490ff0d80cb
系统:centos7.9

@UlricQin
Copy link
Member

UlricQin commented Jan 10, 2025 via email

@9uest
Copy link
Author

9uest commented Jan 12, 2025

已经尝试过这个方法,也是无法返回
尝试发现只会反馈执行后几秒内的返回结果,稍微长点就返回不了数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants