Go to Settings → Configuration → Device Templates and select the template in which you want to configure the threshold.
Under Monitors column, all the monitors that are currently associated with the devices are listed. If you want add or remove required monitors. Click on EditThresholds button. Edit Thresholds page opens.
Configure the Attention, Trouble, Critical Threshold and the Rearm Value and click on OK