scollector - send metadata for a node if bosun restarts

筅森魡賤 提交于 2019-12-12 04:12:12

问题


Alerts defined in bosun failed as the metadata was not populated when bosun restarts.

Is there a way to configure scollector to send metadata once the connection to bosun breaks?

I always need to restart bosun as I keep modifying the configuration file.


回答1:


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?

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.



来源:https://stackoverflow.com/questions/39362190/scollector-send-metadata-for-a-node-if-bosun-restarts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!