added threshold expressoin and message template support to host threshold checker