send notifications from db-defined thresholds