Comments (10)
告警自愈的场景是短周期任务。你要传文件,用p2p之类的工具更合适
from nightingale.
如果更改代码现在后编译运行,长时间运行对categraf没有关系吧?
比如过categraf也有运行时间限制之类的
from nightingale.
需要实测
from nightingale.
在更改文件 models/task_tpl.go 中 函数Verify和CleanFields
判断时间改为
if t.Timeout > 36000*24 {
return errors.New("arg(timeout) longer than one day")
}
编译后运行,创建脚本是可以设置超时超过1天的时间,但是在使用脚本执行任务或直接创建任务时还是会弹出提示 arg(timeout) longer than one day
请问这种情况还应该更改哪些地方?
from nightingale.
from nightingale.
就这2个地方,除了这个没改pkg/i18nx/var.go
,其他都改了,不行才问的
前端代码和categraf也搜索了,没有这个错误
from nightingale.
你可以修改“arg(timeout) longer than one day” 为 “arg(timeout) longer than one day 2222” 看看报错里是否出来这个 2222,如果没有,那就是改的地方不对。
所有代码在两个仓库:ccfos/nightingale
flashcatcloud/ibex
如果搜不到,我也帮不了你了
from nightingale.
修改ibex超时后可以,运行任务可以超过1天的时间
我可以将代码合并到这里吗,将超时时间设置为5天限制?
from nightingale.
可以
from nightingale.
ok
from nightingale.
Related Issues (20)
- 二进制方式部署边缘节点Edge时,启动后可以同步数据,但是前端无法访问 HOT 1
- 告警无法发送到飞书 HOT 4
- API接口地址变化 HOT 2
- docker-compose安装方式采集器启动报错:failed to get bios sn HOT 1
- 告警订阅执行发送时不要再发送告警规则下配置的webhook回调了 HOT 1
- 数据源和业务组关联 HOT 2
- 边缘机房添加数据源无效 HOT 3
- n9e snmp 数据收集失败,后端升级到v7.0.0-beta.4 ,categraf保留v0.3.19 ,指标无法显示 HOT 4
- 有监控进程的CPU和内存的案例吗? HOT 1
- categraf所在宿主机机器名相同,夜莺机器列表就不显示 HOT 2
- v6.7.3添加图表时输入时间会导致白屏 HOT 1
- n9e前端无法显示获取到数据 HOT 1
- 告警规则编辑时的新手模式能不能回归 HOT 1
- V7版本使用Prometheus源监控时,PromQL能够执行,但无法调用自定义告警脚本发送告警通知。【使用VM数据源可以】
- categraf使用snmp协议采集交换机,如果将字段agent_host_tag = "ident",夜莺报错
- 告警自愈、 任务失败 HOT 1
- demsg 报硬盘分区错误,但categraf 一直采到但取值一直为0 HOT 1
- Feat: 限制用戶的登入方式(例如強制用戶只能使用SSO登入) HOT 2
- 7.0 版本的Ibex 支持加密和认证么? HOT 1
- 任务相关 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nightingale.