问题描述
在bosun中定义的警报失败,因为在bosun重新启动时未填充元数据.
Alerts defined in bosun failed as the metadata was not populated when bosun restarts.
有没有一种方法可以配置scollector以在与bosun的连接断开时发送元数据?
Is there a way to configure scollector to send metadata once the connection to bosun breaks?
在不断修改配置文件时,我总是需要重新启动bosun.
I always need to restart bosun as I keep modifying the configuration file.
推荐答案
Bosun将元数据(和事件信息)存储在redis/ledis中.重新启动Bosun时,预计该信息将保留并不会被破坏.不过,Bosun在此重新启动期间接收元数据的能力将存在差距.看起来元数据没有任何重试逻辑-因此不确定这是否是您的意思吗?
Bosun stores metadata (and incident info) in redis/ledis. This information is expected to be persisted and not destroyed when Bosun is restarted. There will be a gap in Bosun's ability to receive metadata during this restart though. It doesn't look like the metadata has any retry logic - so not sure if this is what you mean?
0.6.0-beta(将于2016年9月底到期)将重新加载配置,因此在编辑规则等时无需重新启动.如果您想使用master,可以立即开始使用此功能.
Also 0.6.0-beta (due towards the end of Sept 2016) will have config reloading, so restarts are not required when rules etc are edited. You could start using this feature now if you want to run off of master.
这篇关于scollector-如果bosun重新启动,则发送节点的元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!