fix errors and add check_ntp and check_postfix