Fix bug with valid hostnames with dashes. I added underscores even thoug...

...h they aren't valid just for good measure.

Also, I've been talking about making a monitor based on Salt FOREVER. Thank you so much. I look forward to contributing more, I'm working on a salt module to handle network checks from any host. ;)