check alert_by_sms setting during alerting