position report to db and alarm report to ws