add upper/lower alarm thresholds