Some work around hosts and hostgroups.

Based strongly on our internal nagios definitions...