support check total matric value and fix some bugs
Merge pull request #131 from xfgong/check_host_regex_bug_fix

#130 support check total matric value and fix some bugs