Werk #8098: Do not hang core if Carbon server is not resonding
Component | The Checkmk Micro Core |
Title | Do not hang core if Carbon server is not resonding |
Date | Dec 1, 2014 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.2.6b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
If you connected the Check_MK Micro Core to Carbon (Graphite) and the carbon server was down then the core would hang after a while in a very nasty long TCP timeout. This is been fixed. If carbon is too slow to handle all the data or if the server is hanging then Check_MK uses the available TCP buffer space for queing graph updates and skips then any further updates, while logging a message into cmc.log:
var/log/cmc.log
2014-12-01 17:16:47 [4] Carbon is too slow. Skipping update of xysrv123;Check_MK;system_time