Implement a faster way to refresh the hosts table.

Correct alarming logic in monitor.go