Update agent.rb
Update metadata.rb
Merge pull request #39 from bobross419/master

issue-22: Using hostname-ip instead of just hostname for agent.id