replaced expires with warning and critical thresholds

replaced the expires threshold with warning and critical thresholds for more flexibility on alert.