fix check_attempts and plugin_output for hosts
Merge pull request #39 from murphy-slaw/master

fix check_attempts and plugin_output for hosts