Warning and critical thresholds config + tests