reset green/red thresholds on all charts when reloading health configuration
Costa Tsaousis (ktsaou) committed
Aug 18, 2016 at 04:31 UTC
1c76719876492d9521275ef0d97b3cd9b0ac3f5f
1 file changed
+2
src/health.c
+2
@@ -1372,6 +1372,8 @@ void health_reload(void) {
1372
1373
rrdsetcalc_link_matching(st);
1374
rrdcalctemplate_link_matching(st);
1375
+ st->green = 0;
1376
+ st->red = 0;
1377
1378
rrdhost_unlock(&localhost);
1379
}