fix a bug about getting null machine in HeartBeatAlert
Merge pull request #585 from leonindy/master

fix a bug about getting null machine in HeartBeatAlert