Write peer info to the agent inventory.

Refs #6002